File: /var/www/html/wpprotonperinggit/wp-content/plugins/rafflepress/public/lite/vue-backend/js/admin.js
(function(t){function e(e){for(var a,r,o=e[0],l=e[1],p=e[2],d=0,u=[];d<o.length;d++)r=o[d],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&u.push(i[r][0]),i[r]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(t[a]=l[a]);c&&c(e);while(u.length)u.shift()();return n.push.apply(n,p||[]),s()}function s(){for(var t,e=0;e<n.length;e++){for(var s=n[e],a=!0,o=1;o<s.length;o++){var l=s[o];0!==i[l]&&(a=!1)}a&&(n.splice(e--,1),t=r(r.s=s[0]))}return t}var a={},i={admin:0},n=[];function r(e){if(a[e])return a[e].exports;var s=a[e]={i:e,l:!1,exports:{}};return t[e].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.m=t,r.c=a,r.d=function(t,e,s){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(r.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)r.d(s,a,function(e){return t[e]}.bind(null,a));return s},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/";var o=window["webpackJsonp"]=window["webpackJsonp"]||[],l=o.push.bind(o);o.push=e,o=o.slice();for(var p=0;p<o.length;p++)e(o[p]);var c=l;n.push([1,"chunk-vendors"]),s()})({1:function(t,e,s){t.exports=s("9150")},"476a":function(t,e,s){"use strict";s("7f7f"),s("b54a");var a=function(){var t=this,e=t._self._c;return t.show_inline_help?e("div",{staticClass:"rafflepress-inline-help-top-container"},[e("div",{staticClass:"rafflepress-inline-help-title-container"},[e("img",{staticClass:"rafflepress-builder-help-logo",attrs:{src:t.shared.plugin_path+"public/svg/rafflepress.svg",title:t.txt_1,alt:t.txt_1}}),e("button",{staticClass:"rafflepress-builder-help-close",attrs:{title:t.txt_2},on:{click:function(e){return t.hideInlineHelp(!1)}}},[e("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 1792 1792",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M1490 1322q0 40-28 68l-136 136q-28 28-68 28t-68-28l-294-294-294 294q-28 28-68 28t-68-28l-136-136q-28-28-28-68t28-68l294-294-294-294q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294 294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68l-294 294 294 294q28 28 28 68z"}})])])]),e("div",{staticClass:"rafflepress-builder-help-content"},[e("div",{staticClass:"rafflepress-builder-help-search"},[e("span",{staticClass:"rafflepress-help-search-icon"},[e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),e("path",{attrs:{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}})])]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.help_search,expression:"help_search"}],attrs:{type:"text",placeholder:t.txt_3},domProps:{value:t.help_search},on:{input:function(e){e.target.composing||(t.help_search=e.target.value)}}}),""!=t.help_search?e("span",{staticClass:"rafflepress-help-search-cancel-icon",on:{click:t.clear_search}},[e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})])]):t._e()]),""!=t.help_search?e("div",{staticClass:"rafflepress-builder-help-result"},[t.searchArticles.length>0?e("ul",{staticClass:"rafflepress-builder-category-accordion"},t._l(t.searchArticles,(function(s,a){return e("li",{key:a,staticClass:"rafflepress-inline-help-accordion-article link"},[e("i",{staticClass:"fa fa-file-alt",attrs:{"aria-hidden":"true"}}),e("a",{attrs:{href:s.link+"?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=inlinehelp",target:"_blank"}},[t._v("\n "+t._s(s.title)+"\n ")])])})),0):e("span",{staticClass:"rafflepress-builder-help-no-articles"},[t._v("\n No articles found.\n ")])]):t._e(),e("div",{staticClass:"rafflepress-builder-help-categories"},t._l(t.shared.inline_help_articles_data.category_articles,(function(s,a){return e("div",{key:a},[s.category_details.article_count>0?e("ul",{staticClass:"rafflepress-builder-category-accordion",class:t.accordion_data[a]&&!0===t.accordion_data[a].open?"opened":""},[e("header",{on:{click:function(e){return t.set_open_close(a)}}},[e("i",{staticClass:"fa fa-folder-open",class:"folder-open",attrs:{"aria-hidden":"true"}}),e("span",[t._v(t._s(s.category_details.name))]),e("i",{staticClass:"fa fa-angle-right accordion-arrow",attrs:{"aria-hidden":"true"}})]),t._l(s.articles,(function(s,i){return e("li",{key:i,staticClass:"rafflepress-inline-help-accordion-article link",class:t.accordion_data[a]&&!0===t.accordion_data[a].open?"":"close-accordion"},[e("i",{staticClass:"fa fa-file-alt",attrs:{"aria-hidden":"true"}}),e("a",{attrs:{href:s.link+"?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=inlinehelp",target:"_blank"}},[t._v("\n "+t._s(s.title.rendered)+"\n ")])])}))],2):t._e()])})),0),e("div",{staticClass:"rafflepress-builder-help-footer"},[e("div",{staticClass:"rafflepress-builder-help-footer-block"},[e("i",{staticClass:"fa fa-file-alt",attrs:{"aria-hidden":"true"}}),e("h3",[t._v(t._s(t.txt_6))]),e("p",[t._v(t._s(t.txt_7))]),e("a",{staticClass:"button rp-notification-alt-button rp-alt-notification-button-y",attrs:{href:"https://www.rafflepress.com/docs",rel:"noopener noreferrer",target:"_blank"}},[t._v("\n "+t._s(t.txt_8)+"\n ")])]),e("div",{staticClass:"rafflepress-builder-help-footer-block"},[e("i",{staticClass:"fa fa-life-ring",attrs:{"aria-hidden":"true"}}),e("h3",[t._v(t._s(t.txt_9))]),"rafflepress_pro"==t.shared.page_path?e("div",[e("p",[t._v(t._s(t.txt_10))]),e("a",{staticClass:"button rp-notification-alt-button rp-alt-notification-button-y",attrs:{href:"https://app.rafflepress.com/login",rel:"noopener noreferrer",target:"_blank"}},[t._v("\n "+t._s(t.txt_11)+"\n ")])]):e("div",[e("p",[t._v(t._s(t.txt_12))]),e("a",{staticClass:"button rp-notification-alt-button rp-alt-notification-button-y",attrs:{href:"https://app.rafflepress.com/downloads?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=pluginbuilder-"+t.feature_source,rel:"noopener noreferrer",target:"_blank"}},[t._v("\n "+t._s(t.txt_13)+"\n ")])])])])])]):t._e()},i=[],n=(s("6762"),s("2fdb"),s("ac6a"),s("b132")),r=s("561c"),o={comments:!0,name:"InlineHelp",mixins:[n["a"]],data:function(){return{txt_1:Object(r["a"])("RafflePress Logo","rafflepress"),txt_2:Object(r["a"])("Close","rafflepress"),txt_3:Object(r["a"])("Ask a question or search the docs...","rafflepress"),txt_4:Object(r["a"])("Clear","rafflepress"),txt_5:Object(r["a"])("No docs found","rafflepress"),txt_6:Object(r["a"])("View Documentation","rafflepress"),txt_7:Object(r["a"])("Browse documentation, reference material, and tutorials for RafflePress.","rafflepress"),txt_8:Object(r["a"])("View All Documentation","rafflepress"),txt_9:Object(r["a"])("Get Support","rafflepress"),txt_10:Object(r["a"])("Submit a ticket and our world class support team will be in touch soon.","rafflepress"),txt_11:Object(r["a"])("Submit a Support Ticket","rafflepress"),txt_12:Object(r["a"])("Upgrade to RafflePress Pro to access our world class customer support","rafflepress"),txt_13:Object(r["a"])("Upgrade to RafflePress Pro","rafflepress"),show_inline_help:this.value,feature_source:"inline-help",shared:inline_help_data,help_search:"",all_articles_array:[],accordion_data:[]}},mounted:function(){var t=this;t.get_all_articles()},methods:{set_open_close:function(t){var e=this;e.accordion_data[t].open=!e.accordion_data[t].open},clear_search:function(){this.help_search=""},hideInlineHelp:function(t){this.$emit("input",t)},get_all_articles:function(){var t=this,e=[],s=t.shared.inline_help_articles_data.category_articles,a=[];s.forEach((function(t){var s=t.articles;a.push({open:!1}),s.forEach((function(t){e.push({title:t.title.rendered,link:t.link})}))})),t.all_articles_array=e,t.accordion_data=a}},computed:{searchArticles:function(){var t=this;return this.all_articles_array.filter((function(e){return e.title.toLowerCase().includes(t.help_search.toLowerCase())}))}},components:{},props:{value:Boolean}},l=o,p=s("2877"),c=Object(p["a"])(l,a,i,!1,null,null,null);e["a"]=c.exports},4954:function(t,e,s){"use strict";s("a087")},9150:function(t,e,s){"use strict";s.r(e);s("7f7f"),s("cadf"),s("551c"),s("f751"),s("097d");var a=s("2b0e"),i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rafflepress-admin-container"},[!1===t.show_inline_help?e("div",{staticClass:"rafflepress-app rafflepress"},["rafflepress_pro"==t.shared.page_path&&!1===t.shared.active_license&&"welcome"!=t.$route.name?e("div",{staticStyle:{background:"red",color:"#fff","margin-left":"-20px",padding:"10px","font-size":"14px",display:"flex","justify-content":"center","line-height":"1",position:"relative","text-transform":"uppercase"}},[t._v("\n You’re license key is invalid!\n "),"settings_general"!=t.$route.name?e("a",{staticClass:"sp-ml-1 sp-text-white hover:sp-text-white sp-no-underline sp-border-0 sp-border-b sp-border-white sp-border-dotted",staticStyle:{"margin-left":"8px",color:"#fff","border-bottom":"dotted #fff 1px"},attrs:{href:"admin.php?page=rafflepress_pro#/settings"}},[t._v("Click Here to Enter Your License Key")]):t._e()]):t._e(),"welcome"!=t.$router.currentRoute.name?e("div",{attrs:{id:"rafflepress-header"}},[e("nav",{staticClass:"navbar navbar-default"},[e("div",{staticClass:"navbar-header"},[e("a",{staticClass:"navbar-brand rafflepress-default-cusor",attrs:{href:"https://rafflepress.com/?utm_source=WordPress&utm_medium=header-logo&utm_campaign=liteplugin",target:"_blank"}},[e("img",{attrs:{id:"rafflepress-logo",src:t.shared.plugin_path+"public/svg/rafflepress.svg",alt:"RafflePress Logo"}})])]),e("button",{staticClass:"btn btn-default rafflepress-admin-help-button",on:{click:t.showInlineHelp}},[e("i",{staticClass:"fas fa-question-circle"}),t._v("\n "+t._s(t.shared.translations.txt_630)+"\n ")])])]):t._e(),t.shared.notifications.length>0?e("div",{staticStyle:{display:"flex",background:"#fff2ee",margin:"20px","border-radius":"4px",border:"2px solid #f1460d",color:"#f1460d",padding:"10px","font-size":"16px"}},[t.shared.notifications[t.notification_index].img?e("img",{staticStyle:{"margin-right":"20px"},attrs:{src:t.shared.notifications[t.notification_index].img}}):e("img",{staticStyle:{"margin-right":"20px"},attrs:{src:t.shared.plugin_path+"public/svg/bell.svg"}}),e("div",{staticStyle:{"flex-grow":"1"}},[e("div",{staticStyle:{"font-weight":"bold","margin-bottom":"10px",display:"flex","justify-content":"space-between"}},[e("span",[t._v("\n "+t._s(t.shared.notifications[t.notification_index].title)+"\n ")]),e("span",{staticStyle:{cursor:"pointer",width:"20px"},on:{click:function(e){return t.dismiss_notifications(t.shared.notifications[t.notification_index].id)}}},[e("svg",{staticStyle:{width:"18px",fill:"#999"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),e("path",{attrs:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}})])])]),e("div",{staticStyle:{"margin-bottom":"10px"},domProps:{innerHTML:t._s(t.shared.notifications[t.notification_index].content)}}),e("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[e("div",[t.shared.notifications[t.notification_index].btns.main?e("a",{staticClass:"button button-primary",staticStyle:{"margin-right":"10px"},attrs:{href:t.shared.notifications[t.notification_index].btns.main.url,target:"_blank"}},[t._v(t._s(t.shared.notifications[t.notification_index].btns.main.text))]):t._e(),t.shared.notifications[t.notification_index].btns.alt?e("a",{staticClass:"button button-secondary",attrs:{href:t.shared.notifications[t.notification_index].btns.alt.url,target:"_blank"}},[t._v(t._s(t.shared.notifications[t.notification_index].btns.alt.text))]):t._e()]),e("div",[e("a",{staticClass:"sp-cursor-pointer sp-border sp-border-neutral-20 sp-border-solid sp-rounded sp-p-2 sp-text-10px sp-text-neutral-40 hover:sp-border-neutral-40 hover:sp-text-40 sp-mr-1",class:{hidden:0==t.notification_index},staticStyle:{"margin-right":"10px"},attrs:{title:"Previous message "},on:{click:function(e){return e.preventDefault(),t.scroll_notifications("prev")}}},[e("i",{staticClass:"fa fa-chevron-left",attrs:{"aria-hidden":"true"}})]),e("a",{staticClass:"sp-cursor-pointer sp-border sp-border-neutral-20 sp-border-solid sp-rounded sp-p-2 sp-text-10px sp-text-neutral-40 hover:sp-border-neutral-40 hover:sp-text-40",style:{hidden:t.notification_index==t.shared.notifications.length-1},attrs:{title:"Next message"},on:{click:function(e){return e.preventDefault(),t.scroll_notifications("next")}}},[e("i",{staticClass:"fa fa-chevron-right",attrs:{"aria-hidden":"true"}})])])])])]):t._e(),e("keep-alive",[e("router-view")],1)],1):t._e(),t.show_inline_help?e("div",{staticClass:"rp-inline-help-wrapper",attrs:{id:"rafflepress-customizer"}},[e("InlineHelp",{model:{value:t.show_inline_help,callback:function(e){t.show_inline_help=e},expression:"show_inline_help"}})],1):t._e()])},n=[],r=s("4328"),o=s.n(r),l=(s("2ef0"),s("476a")),p={components:{InlineHelp:l["a"]},data:function(){return{notification_index:0,shared:rafflepress_store_admin,show_inline_help:!1}},methods:{showInlineHelp:function(){var t=this;t.show_inline_help=!0},dismiss_notifications:function(t){var e=this,s=o.a.stringify({id:t});e.$delete(e.shared.notifications,e.notification_index),0<e.notification_index?e.notification_index=e.notification_index-1:1<e.notification_index.length&&0==e.notification_index?e.notification_index=e.notification_index+1:e.notification_index=0,this.axios.post(rafflepress_notification_dismiss,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((function(t){t.data.success&&location.reload()}))},scroll_notifications:function(t){"prev"==t&&this.notification_index--,"next"==t&&this.notification_index++},goto_settings:function(){this.$router.push({name:"settings"})},show_upgrade_notice:function(t,e){var s=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"link",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];i?(t="Upgrade to PRO",e="Increase traffic, engagement, and get more email subscribers. Click below to learn more about all our awesome features."):(t+=" is a PRO Feature",e="The "+e+" feature is not available on your plan. Please upgrade to the PRO plan to unlock all these awesome features."),this.$swal({title:t,text:e,type:"success",showCancelButton:!1,confirmButtonColor:"#4CAF50",cancelButtonColor:"#d33",confirmButtonText:"UPGRADE TO PRO"}).then((function(t){t.value&&(window.open(s.shared.upgrade_link+a,"_blank"),s.$swal.fire("","Thanks for your interest in RafflePress Pro!<br>If you have any questions or issues just <a href='https://www.rafflepress.com/contact/' target='_blank'>let us know</a>.<br><br>After purchasing RafflePress Pro, you'll need to download and install the Pro version of the plugin, and then remove the free plugin. <br><br>(Don't worry, all your settings will be preserved.)","info"))}))}}},c=p,d=s("2877"),u=Object(d["a"])(c,i,n,!1,null,null,null),_=u.exports,f=s("8c4f"),h=(s("ac6a"),s("28a5"),s("386d"),function(){var t=this,e=t._self._c;return e("div",[e("h1",{staticClass:"wrap",attrs:{id:"rafflepress-page-title"}},[t._v("\n\t\t\t"+t._s(t.shared.translations.txt_259)+"\n\t\t\t"),e("a",{staticClass:"add-new-h2 rafflepress-btn-orange",attrs:{href:"admin.php?page="+t.shared.page_path+"_builder&_wpnonce="+t.shared.rafflepress_nonce+"&id=0#/template"}},[t._v(t._s(t.shared.translations.txt_260))])]),e("div",{attrs:{id:"rafflepress-dashboard"}},[e("div",{attrs:{id:"poststuff"}},[e("div",{staticClass:"metabox-holder columns-1",attrs:{id:"post-body"}},[e("div",{staticClass:"clearfix",attrs:{id:"post-body-content"}},[e("ul",{staticClass:"subsubsub"},t._l(t.filters,(function(s,a){return e("li",[e("a",{class:{current:t.filter==a},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.filter_table(a)}}},[t._v(t._s(s.label))]),t._v("\n\t\t\t\t\t\t\t\t("+t._s(s.count)+")\n\t\t\t\t\t\t\t\t"),"archived"!=a?e("span",[t._v("|")]):t._e()])})),0),e("p",{staticClass:"search-box"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"order-search-input"}},[t._v(t._s(t.shared.translations.txt_261))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],attrs:{type:"search",id:"order-search-input"},domProps:{value:t.search},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.loadItems("search")},input:function(e){e.target.composing||(t.search=e.target.value)}}}),t._v(" \n\t\t\t\t\t\t\t"),t.search.length>0?e("i",{staticClass:"fas fa-times-circle",attrs:{id:"rafflepress-search-close"},on:{click:function(e){return e.preventDefault(),t.clear_search.apply(null,arguments)}}}):t._e(),e("input",{staticClass:"button",attrs:{type:"submit",id:"search-submit"},domProps:{value:t.shared.translations.txt_261},on:{click:function(e){return e.preventDefault(),t.loadItems("search")}}})]),e("list-table",{ref:"giveawaydt",attrs:{columns:t.columns,loading:t.loading,rows:t.rows,actions:t.actions,"show-cb":t.showcb,"total-items":t.totalitems,"bulk-actions":t.bulkactions,"total-pages":t.totalpages,"per-page":t.perpage,"current-page":t.currentpage,"action-column":t.actioncol,"sort-by":t.orderby,"sort-order":t.order,filter:t.filter},on:{pagination:t.goToPage,rowOver:t.rowOver,rowOut:t.rowOut,"action:click":t.onActionClick,"bulk:click":t.onBulkAction,sort:t.sortCallback},scopedSlots:t._u([{key:"contestants",fn:function(s){return[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto_contestants(s.row.id)}}},[t._v(t._s(s.row.contestants))])]}},{key:"status",fn:function(s){return[e("div",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.row.status.split("|")[0])+"\n\t\t\t\t\t\t\t\t\t"),s.row.status.indexOf("needs_setup")>0?e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.status_action(s.row.id,"needs_setup")}}},[t._v(t._s(t.shared.translations.txt_262))]):t._e(),s.row.status.indexOf("needs_winners")>0?e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.status_action(s.row.id,"needs_winners")}}},[t._v(t._s(t.shared.translations.txt_263))]):t._e(),s.row.status.indexOf("see_winners")>0?e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.status_action(s.row.id,"see_winners")}}},[t._v(t._s(t.shared.translations.txt_264))]):t._e(),e("div",{staticClass:"invisible",class:{show_hidden:t.show_row==s.row.id}},[s.row.status.indexOf("start_now")>0?e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.status_action(s.row.id,"start_now")}}},[t._v(t._s(t.shared.translations.txt_265))]):t._e(),s.row.status.indexOf("end_now")>0?e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.status_action(s.row.id,"end_now")}}},[t._v(t._s(t.shared.translations.txt_266))]):t._e()])])]}},{key:"entries",fn:function(s){return[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto_contestants(s.row.id)}}},[t._v(t._s(s.row.entries))])]}},{key:"active",fn:function(s){return[e("toggle-button",{attrs:{width:40},on:{change:function(e){return t.enable_disable(s.row)}},model:{value:s.row.active,callback:function(e){t.$set(s.row,"active",e)},expression:"data.row.active"}})]}},{key:"name",fn:function(s){return[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.onActionClick("setup",s.row)}}},[t._v(t._s(s.row.name))])]}},{key:"row-actions",fn:function(s){return t._l(t.actions,(function(a){return"archived"!=t.filter?e("span",{class:a.key},["images"==a.key&&s.row.has_images||"polls"==a.key&&s.row.has_polls?e("span",[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.actionClicked(a.key,s.row)}}},[t._v(t._s(a.label))]),t.hideActionSeparator(a.key)?t._e():e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t")])]):e("span",["images"!=a.key?e("span",["polls"!=a.key?e("span",[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.actionClicked(a.key,s.row)}}},[t._v(t._s(a.label))]),t.hideActionSeparator(a.key)?t._e():e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t\t\t")])]):t._e()]):t._e()])]):t._e()}))}}])})],1)])])])])}),g=[],m=(s("6b54"),function(){var t=this,e=t._self._c;return e("div",{class:{"table-loading":t.loading}},[t.loading?e("div",{staticClass:"table-loader-wrap"},[e("div",{staticClass:"table-loader-center"},[e("div",{staticClass:"table-loader"}),e("div",{staticClass:"table-loader-txt"},[t._v(t._s(t.shared.translations.txt_224)+"...")])])]):t._e(),e("div",{staticClass:"tablenav top"},[t.hasBulkActions?e("div",{staticClass:"alignleft actions bulkactions"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"bulk-action-selector-top"}},[t._v(t._s(t.shared.translations.txt_579))]),e("select",{directives:[{name:"model",rawName:"v-model",value:t.bulkLocal,expression:"bulkLocal"}],attrs:{name:"action",id:"bulk-action-selector-top"},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.bulkLocal=e.target.multiple?s:s[0]}}},[e("option",{attrs:{value:"-1"}},[t._v(t._s(t.shared.translations.txt_578))]),t._l(t.bulkActions,(function(s){return e("option",{domProps:{value:s.key}},[t._v(t._s(s.label))])}))],2),e("button",{staticClass:"button action",staticStyle:{"margin-bottom":"1px"},attrs:{disabled:!t.checkedItems.length&&-1===this.bulkLocal.indexOf("all")},on:{click:function(e){return e.preventDefault(),t.handleBulkAction.apply(null,arguments)}}},[t._v("\n\t\t\t\t"+t._s(t.shared.translations.txt_580)+"\n\t\t\t")])]):t._e(),e("div",{staticClass:"alignleft actions"},[t._t("filters")],2),e("div",{staticClass:"tablenav-pages"},[e("span",{staticClass:"displaying-num"},[t._v(t._s(t.itemsTotal)+" "+t._s(t.shared.translations.txt_581))]),t.hasPagination?e("span",{staticClass:"pagination-links"},[t.disableFirst?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("«")]):e("a",{staticClass:"first-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("«")])]),t.disablePrev?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("‹")]):e("a",{staticClass:"prev-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.currentPage-1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("‹")])]),e("span",{staticClass:"paging-input"},[e("span",{staticClass:"tablenav-paging-text"},[e("input",{staticClass:"current-page",attrs:{type:"text",name:"paged","aria-describedby":"table-paging",size:"1"},domProps:{value:t.currentPage},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.goToCustomPage.apply(null,arguments)}}}),t._v("\n\t\t\t\t\t\t"+t._s(t.shared.translations.txt_648)+"\n\t\t\t\t\t\t"),e("span",{staticClass:"total-pages"},[t._v(t._s(t.totalPages))])])]),t.disableNext?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("›")]):e("a",{staticClass:"next-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.currentPage+1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("›")])]),t.disableLast?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("»")]):e("a",{staticClass:"last-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.totalPages)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("»")])])]):t._e()])]),e("table",{class:t.tableClass},[e("thead",[e("tr",[t.showCb?e("td",{staticClass:"manage-column column-cb check-column"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.selectAll,expression:"selectAll"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selectAll)?t._i(t.selectAll,null)>-1:t.selectAll},on:{change:function(e){var s=t.selectAll,a=e.target,i=!!a.checked;if(Array.isArray(s)){var n=null,r=t._i(s,n);a.checked?r<0&&(t.selectAll=s.concat([n])):r>-1&&(t.selectAll=s.slice(0,r).concat(s.slice(r+1)))}else t.selectAll=i}}})]):t._e(),t._l(t.columns,(function(s,a){return e("th",{class:["column",a,{sortable:t.isSortable(s)},{sorted:t.isSorted(a)},{asc:t.isSorted(a)&&"asc"===t.sortOrder},{desc:t.isSorted(a)&&"desc"===t.sortOrder}]},[t.isSortable(s)?e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleSortBy(a)}}},[e("span",[t._v(t._s(s.label))]),e("span",{staticClass:"sorting-indicator"})]):[t._v("\n\t\t\t\t\t\t"+t._s(s.label)+"\n\t\t\t\t\t")]],2)}))],2)]),e("tfoot",[e("tr",[t.showCb?e("td",{staticClass:"manage-column column-cb check-column"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.selectAll,expression:"selectAll"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selectAll)?t._i(t.selectAll,null)>-1:t.selectAll},on:{change:function(e){var s=t.selectAll,a=e.target,i=!!a.checked;if(Array.isArray(s)){var n=null,r=t._i(s,n);a.checked?r<0&&(t.selectAll=s.concat([n])):r>-1&&(t.selectAll=s.slice(0,r).concat(s.slice(r+1)))}else t.selectAll=i}}})]):t._e(),t._l(t.columns,(function(s,a){return e("th",{class:["column",a]},[t._v("\n\t\t\t\t\t"+t._s(s.label)+"\n\t\t\t\t")])}))],2)]),e("tbody",[t.rows.length?t._l(t.rows,(function(s){return e("tr",{key:s[t.index],class:s["class"],on:{mouseover:function(e){return t.rowOver(s)},mouseout:function(e){return t.rowOut(s)}}},[t.showCb?e("th",{staticClass:"check-column",attrs:{scope:"row"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.checkedItems,expression:"checkedItems"}],attrs:{type:"checkbox",name:"item[]"},domProps:{value:s[t.index],checked:Array.isArray(t.checkedItems)?t._i(t.checkedItems,s[t.index])>-1:t.checkedItems},on:{change:function(e){var a=t.checkedItems,i=e.target,n=!!i.checked;if(Array.isArray(a)){var r=s[t.index],o=t._i(a,r);i.checked?o<0&&(t.checkedItems=a.concat([r])):o>-1&&(t.checkedItems=a.slice(0,o).concat(a.slice(o+1)))}else t.checkedItems=n}}})]):t._e(),t._l(t.columns,(function(a,i){return e("td",{class:["column",i]},[t._t(i,(function(){return[t._v(t._s(s[i]))]}),{row:s}),t.actionColumn===i&&t.hasActions?e("div",{staticClass:"row-actions"},[t._t("row-actions",(function(){return t._l(t.actions,(function(a){return"archived"!=t.filter?e("span",{class:a.key},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.actionClicked(a.key,s)}}},[t._v(t._s(a.label))]),t.hideActionSeparator(a.key)?t._e():[t._v("\n\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t")]],2):t._e()}))}),{row:s})],2):t._e()],2)}))],2)})):e("tr",[e("td",{attrs:{colspan:t.colspan}},[t._v(t._s(t.shared.translations.txt_577))])])],2)]),e("div",{staticClass:"tablenav bottom"},[t.hasBulkActions?e("div",{staticClass:"alignleft actions bulkactions"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"bulk-action-selector-top"}},[t._v(t._s(t.shared.translations.txt_579))]),e("select",{directives:[{name:"model",rawName:"v-model",value:t.bulkLocal,expression:"bulkLocal"}],attrs:{name:"action",id:"bulk-action-selector-top"},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.bulkLocal=e.target.multiple?s:s[0]}}},[e("option",{attrs:{value:"-1"}},[t._v(t._s(t.shared.translations.txt_578))]),t._l(t.bulkActions,(function(s){return e("option",{domProps:{value:s.key}},[t._v(t._s(s.label))])}))],2),e("button",{staticClass:"button action",staticStyle:{"margin-bottom":"1px"},attrs:{disabled:!t.checkedItems.length},on:{click:function(e){return e.preventDefault(),t.handleBulkAction.apply(null,arguments)}}},[t._v("\n\t\t\t\t"+t._s(t.shared.translations.txt_580)+"\n\t\t\t")])]):t._e(),e("div",{staticClass:"tablenav-pages"},[e("span",{staticClass:"displaying-num"},[t._v(t._s(t.itemsTotal)+" "+t._s(t.shared.translations.txt_581))]),t.hasPagination?e("span",{staticClass:"pagination-links"},[t.disableFirst?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("«")]):e("a",{staticClass:"first-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("«")])]),t.disablePrev?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("‹")]):e("a",{staticClass:"prev-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.currentPage-1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("‹")])]),e("span",{staticClass:"paging-input"},[e("span",{staticClass:"tablenav-paging-text"},[e("input",{staticClass:"current-page",attrs:{type:"text",name:"paged","aria-describedby":"table-paging",size:"1"},domProps:{value:t.currentPage},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.goToCustomPage.apply(null,arguments)}}}),t._v("\n\t\t\t\t\t\tof\n\t\t\t\t\t\t"),e("span",{staticClass:"total-pages"},[t._v(t._s(t.totalPages))])])]),t.disableNext?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("›")]):e("a",{staticClass:"next-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.currentPage+1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("›")])]),t.disableLast?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("»")]):e("a",{staticClass:"last-page",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.totalPages)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("»")])])]):t._e()])])])}),v=[],b=(s("456d"),s("c5f6"),{name:"ListTable",props:{filter:{type:String,default:""},columns:{type:Object,required:!0,default:function(){return{}}},rows:{type:Array,required:!0,default:function(){return[]}},index:{type:String,default:"id"},showCb:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},actionColumn:{type:String,default:""},actions:{type:Array,required:!1,default:function(){return[]}},bulkActions:{type:Array,required:!1,default:function(){return[]}},tableClass:{type:String,default:"wp-list-table widefat fixed striped"},notFound:{type:String,default:"No items found."},totalItems:{type:Number,default:0},totalPages:{type:Number,default:1},perPage:{type:Number,default:20},currentPage:{type:Number,default:1},sortBy:{type:String,default:null},sortOrder:{type:String,default:"asc"}},data:function(){return{bulkLocal:"-1",checkedItems:[],shared:rafflepress_store_admin}},computed:{hasActions:function(){return 0<this.actions.length},hasBulkActions:function(){return 0<this.bulkActions.length},itemsTotal:function(){return this.totalItems||this.rows.length},hasPagination:function(){return this.itemsTotal>this.perPage},disableFirst:function(){return 1===this.currentPage||2===this.currentPage},disablePrev:function(){return 1===this.currentPage},disableNext:function(){return this.currentPage===this.totalPages},disableLast:function(){return this.currentPage===this.totalPages||this.currentPage==this.totalPages-1},colspan:function(){var t=Object.keys(this.columns).length;return this.showCb&&(t+=1),t},selectAll:{get:function(){return!!this.rows.length&&(!!this.rows&&this.checkedItems.length==this.rows.length)},set:function(t){var e=[],s=this;t&&this.rows.forEach((function(t){void 0!==t[s.index]?e.push(t[s.index]):e.push(t.id)})),this.checkedItems=e}}},methods:{hideActionSeparator:function(t){return t===this.actions[this.actions.length-1].key},rowOver:function(t){this.$emit("rowOver",t)},rowOut:function(t){this.$emit("rowOut",t)},actionClicked:function(t,e){this.$emit("action:click",t,e)},goToPage:function(t){this.$emit("pagination",t)},goToCustomPage:function(t){var e=parseInt(t.target.value);!isNaN(e)&&0<e&&e<=this.totalPages&&this.$emit("pagination",e)},handleBulkAction:function(){"-1"!==this.bulkLocal&&this.$emit("bulk:click",this.bulkLocal,this.checkedItems)},clear_checked:function(){this.checkedItems=[]},isSortable:function(t){return!(!t.hasOwnProperty("sortable")||!0!==t.sortable)},isSorted:function(t){return t===this.sortBy},handleSortBy:function(t){var e="asc"===this.sortOrder?"desc":"asc";this.$emit("sort",t,e)}}}),w=b,y=(s("4954"),Object(d["a"])(w,m,v,!1,null,null,null)),k=y.exports,x=s("323e"),C=s.n(x),P={name:"Dashboard",components:{ListTable:k},data:function(){return{shared:rafflepress_store_admin,show_row:!1,show_action:!1,loading:!0,search:"",showcb:!0,totalitems:0,totalpages:0,perpage:10,actioncol:"name",currentpage:1,orderby:"",order:"",filter:"all",filters:{all:{label:rafflepress_store_admin.translations.txt_236,count:0},running:{label:rafflepress_store_admin.translations.txt_267,count:0},upcoming:{label:rafflepress_store_admin.translations.txt_268,count:0},ended:{label:rafflepress_store_admin.translations.txt_269,count:0},needs_winners:{label:rafflepress_store_admin.translations.txt_270,count:0},archived:{label:rafflepress_store_admin.translations.txt_271,count:0}},bulkactions:[{key:"archive_selected_giveaways",label:rafflepress_store_admin.translations.txt_272},{key:"unarchive_selected_giveaways",label:rafflepress_store_admin.translations.txt_273},{key:"delete_all_archived_giveaways",label:rafflepress_store_admin.translations.txt_274}],columns:{name:{label:rafflepress_store_admin.translations.txt_245,sortable:!0},contestants:{label:rafflepress_store_admin.translations.txt_216,sortable:!0},entries:{label:rafflepress_store_admin.translations.txt_246,sortable:!0},starts:{label:rafflepress_store_admin.translations.txt_275,sortable:!0},ends:{label:rafflepress_store_admin.translations.txt_276,sortable:!0},status:{label:rafflepress_store_admin.translations.txt_277,sortable:!0}},actions:[{key:"setup",label:rafflepress_store_admin.translations.txt_278},{key:"contestants",label:rafflepress_store_admin.translations.txt_216},{key:"publish2",label:rafflepress_store_admin.translations.txt_279},{key:"publish",label:rafflepress_store_admin.translations.txt_280},{key:"duplicate",label:rafflepress_store_admin.translations.txt_281},{key:"images",label:rafflepress_store_admin.translations.txt_602},{key:"polls",label:rafflepress_store_admin.translations.txt_603},{key:"delete",label:rafflepress_store_admin.translations.txt_271}],rows:[{name:rafflepress_store_admin.translations.txt_224+" ...",status:"",type:"",contestants:"",entries:"",active:""}]}},methods:{hideActionSeparator:function(t){return t===this.actions[this.actions.length-1].key},rowOver:function(t){this.show_row=t.id},rowOut:function(t){this.show_row=!1},enable_disable:function(t){var e=this;e.loading=!0,this.axios.get(rafflepress_enable_disable_giveaway_ajax_url+"&id="+t.id+"¤t_state="+t.active).then((function(s){e.loading=!1,"enabled"==s.data.status&&(t.active=!0,e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:"Giveaway Enabled",toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})),"disabled"==s.data.status&&(t.active=!1,e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:"Giveaway Disabled",toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}))}))},status_action:function(t,e){var s=this;"needs_winners"!=e&&"see_winners"!=e||("needs_winners"==e&&(this.shared.show_winners_advanced_options=!0),this.$router.push({name:"contestants",params:{id:t}})),"needs_setup"==e&&(location.href="?page="+this.shared.page_path+"_builder&id="+t+"#/setup/"+t),"start_now"==e&&(s.loading=!0,this.axios.get(rafflepress_start_giveaway_ajax_url+"&id="+t).then((function(t){s.loading=!1,t.data.status&&(s.$swal({imageUrl:s.shared.plugin_path+"public/img/success.png",text:s.shared.translations.txt_282,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),s.loadItems())}))),"end_now"==e&&(s.loading=!0,this.axios.get(rafflepress_end_giveaway_ajax_url+"&id="+t).then((function(t){s.loading=!1,s.$refs.giveawaydt.clear_checked(),t.data.status&&(s.$swal({imageUrl:s.shared.plugin_path+"public/img/success.png",text:s.shared.translations.txt_283,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),s.loadItems())})))},goto_dashboard:function(){this.$router.push({name:"dashboard"})},clear_search:function(){this.search,this.loadItems()},archive:function(t){console.log(t);var e=this;e.loading=!0,this.axios.get(rafflepress_archive_selected_giveaways+"&ids="+encodeURIComponent(t.toString())).then((function(t){e.loading=!1,e.$refs.giveawaydt.clear_checked(),t.data.status&&(e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:e.shared.translations.txt_284,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.loadItems())}))},unarchive:function(t){var e=this;e.loading=!0,this.axios.get(rafflepress_unarchive_selected_giveaways+"&ids="+encodeURIComponent(t.toString())).then((function(t){e.loading=!1,e.$refs.giveawaydt.clear_checked(),t.data.status&&(e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:e.shared.translations.txt_285,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.loadItems())}))},trash:function(){var t=this,e=this;this.$swal({imageUrl:e.shared.plugin_path+"public/img/warning-lg.png",title:e.shared.translations.txt_255,type:null,showCancelButton:!0,confirmButtonColor:"#d33",confirmButtonText:e.shared.translations.txt_286}).then((function(s){s.value&&(e.loading=!0,t.axios.get(rafflepress_delete_archived_giveaways).then((function(t){e.loading=!1,e.$refs.giveawaydt.clear_checked(),t.data.status&&(e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:e.shared.translations.txt_287,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.loadItems())})))}))},duplicate:function(t){var e=this;e.loading=!0,this.axios.get(rafflepress_duplicate_giveaway_url+"&id="+t.id).then((function(t){e.loading=!1,t.data.status&&(e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:e.shared.translations.txt_288,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.orderby="",e.loadItems())}))},loadItems:function(t){"search"==t?(this.currentpage=1,this.orderby="",this.order="",this.filter=""):this.search="";var e=this;e.loading=!0,C.a.start(),this.axios.get(rafflepress_giveaway_datatable_url+"¤t_page="+this.currentpage+"&orderby="+this.orderby+"&order="+this.order+"&filter="+this.filter+"&s="+this.search).then((function(t){e.loading=!1,C.a.done(),e.rows=t.data.rows,e.totalitems=parseInt(t.data.totalitems),e.totalpages=parseInt(t.data.totalpages),e.currentpage=parseInt(t.data.currentpage),null!=t.data.views&&(e.filters.all.count=parseInt(t.data.views.all),e.filters.archived.count=parseInt(t.data.views.archived),e.filters.ended.count=parseInt(t.data.views.ended),e.filters.needs_winners.count=parseInt(t.data.views.needs_winners),e.filters.running.count=parseInt(t.data.views.running),e.filters.upcoming.count=parseInt(t.data.views.upcoming))}))},filter_table:function(t){var e=this.filter;this.filter=t,e!=t&&(this.currentpage=1),0==this.filters[t].count?this.rows=[]:this.loadItems()},show_actions:function(t){this.show_action=t},goto_contestants:function(t){this.$router.push({name:"contestants",params:{id:t}})},goto_entries:function(t){this.$router.push({name:"entries",params:{id:t}})},goto_polls:function(t){this.$router.push({name:"results",params:{id:t}})},goto_images:function(t){this.$router.push({name:"entries",params:{id:t,contestant_id:"image"}})},goToPage:function(t){this.currentpage=t,this.loadItems()},actionClicked:function(t,e){this.onActionClick(t,e)},onActionClick:function(t,e){"images"==t&&this.goto_images(e.id),"polls"==t&&this.goto_polls(e.id),"duplicate"==t&&this.duplicate(e),"delete"==t&&this.archive(e.id),"setup"==t&&(location.href="?page="+this.shared.page_path+"_builder&id="+e.id+"#/setup/"+e.id),"publish"==t&&(location.href="?page="+this.shared.page_path+"_builder&id="+e.id+"#/publish/"+e.id),"publish2"==t&&window.open(this.shared.home_url+"?rafflepress_page=rafflepress_render&rafflepress_id="+e.id+"&rafflepress-preview=1","_blank"),"entries"==t&&this.$router.push({name:"entries",params:{id:e.id}}),"contestants"==t&&this.$router.push({name:"contestants",params:{id:e.id}})},onBulkAction:function(t,e){"archive_selected_giveaways"==t&&this.archive(e),"unarchive_selected_giveaways"==t&&this.unarchive(e),"delete_all_archived_giveaways"==t&&this.trash()},sortCallback:function(t,e){this.orderby=t,this.order=e,this.loadItems()}},created:function(){this.loadItems()}},S=P,I=(s("ad75"),Object(d["a"])(S,h,g,!1,null,null,null)),A=I.exports,$=function(){var t=this,e=t._self._c;return e("div",["image"==this.$route.params.contestant_id?e("h1",{staticClass:"wrap",attrs:{id:"rafflepress-page-title"}},[t._v("\n\t\t"+t._s(t.shared.translations.txt_547)+" "+t._s(t.shared.translations.txt_246)+"\n\t\t"),e("a",{staticClass:"add-new-h2 rafflepress-btn-orange",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto_dashboard.apply(null,arguments)}}},[t._v(t._s(t.shared.translations.txt_601))])]):e("h1",{staticClass:"wrap",attrs:{id:"rafflepress-page-title"}},[t._v("\n\t\t"+t._s(t.shared.translations.txt_246)+"\n\t\t"),e("a",{staticClass:"add-new-h2 rafflepress-btn-orange",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto_contestants.apply(null,arguments)}}},[t._v(t._s(t.shared.translations.txt_289))])]),e("div",{staticClass:"wrap",attrs:{id:"rafflepress-entries"}},[e("div",{attrs:{id:"poststuff"}},[e("div",{staticClass:"metabox-holder columns-1",attrs:{id:"post-body"}},[e("div",{attrs:{id:"post-body-content"}},[e("ul",{staticClass:"subsubsub"},t._l(t.filters,(function(s,a){return e("li",[e("a",{class:{current:t.filter==a},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.filter_table(a)}}},[t._v(t._s(s.label))]),t._v("\n\t\t\t\t\t\t\t("+t._s(s.count)+")\n\t\t\t\t\t\t\t"),"contestants"!=a?e("span",[t._v("|")]):t._e()])})),0),"image"!=this.$route.params.contestant_id?e("p",{staticClass:"search-box"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"order-search-input"}},[t._v(t._s(t.shared.translations.txt_229))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],attrs:{type:"search",id:"order-search-input"},domProps:{value:t.search},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.loadItems("search")},input:function(e){e.target.composing||(t.search=e.target.value)}}}),t._v(" \n\t\t\t\t\t\t"),t.search&&t.search.length>0?e("i",{staticClass:"fas fa-times-circle",attrs:{id:"rafflepress-search-close"},on:{click:function(e){return e.preventDefault(),t.clear_search.apply(null,arguments)}}}):t._e(),e("input",{staticClass:"button",attrs:{type:"submit",id:"search-submit"},domProps:{value:t.shared.translations.txt_229},on:{click:function(e){return e.preventDefault(),t.loadItems("search")}}})]):t._e(),e("list-table",{ref:"entriesdt",attrs:{columns:t.columns,loading:t.loading,rows:t.rows,actions:t.actions,"show-cb":t.showcb,"total-items":t.totalitems,"bulk-actions":t.bulkactions,"total-pages":t.totalpages,"per-page":t.perpage,"current-page":t.currentpage,"action-column":t.actioncol,"sort-by":t.orderby,"sort-order":t.order},on:{pagination:t.goToPage,"action:click":t.onActionClick,"bulk:click":t.onBulkAction,sort:t.sortCallback},scopedSlots:t._u([{key:"details",fn:function(s){return[e("div",{domProps:{innerHTML:t._s(s.row.details)}})]}}])})],1)]),e("br",{staticClass:"clear"})])])])},T=[],R={name:"Entries",components:{ListTable:k},data:function(){return{shared:rafflepress_store_admin,giveaway_name:"",show_advanced_options:!1,show_action:!1,giveaway_id:this.$route.params.id,loading:!0,search:"",showcb:!0,totalitems:0,totalpages:0,perpage:20,actioncol:"name",currentpage:1,orderby:"",order:"",filter:"all",filters:{},bulkactions:[{key:"valid_selected_entries",label:rafflepress_store_admin.translations.txt_290},{key:"invalid_selected_entries",label:rafflepress_store_admin.translations.txt_291},{key:"delete_all_invalid_entries",label:rafflepress_store_admin.translations.txt_292}],columns:{email:{label:rafflepress_store_admin.translations.txt_244,sortable:!0},name:{label:rafflepress_store_admin.translations.txt_245,sortable:!1},action:{label:rafflepress_store_admin.translations.txt_293,sortable:!0},details:{label:rafflepress_store_admin.translations.txt_294,sortable:!1},worth:{label:rafflepress_store_admin.translations.txt_295,sortable:!0},created_at:{label:rafflepress_store_admin.translations.txt_247,sortable:!0}},actions:[],rows:[{name:rafflepress_store_admin.translations.txt_224+" ...",status:"",type:"",contestants:"",entries:"",active:""}]}},methods:{show_actions:function(t){this.show_action=t},contains_str:function(t,e){return-1!==e.indexOf(t)},goto_dashboard:function(){this.$router.push({name:"dashboard"})},goto_giveaway:function(){location.href="?page="+this.shared.page_path+"_builder&id="+this.$route.params.id+"#/setup/"+this.$route.params.id},goto_contestants:function(){this.$router.push({name:"contestants",params:{id:this.giveaway_id}})},clear_search:function(){this.search="",this.loadItems()},valid:function(t){var e=this;e.loading=!0,this.axios.get(rafflepress_valid_selected_entries_url+"&ids="+encodeURIComponent(t.toString())).then((function(t){e.loading=!1,e.$refs.entriesdt.clear_checked(),t.data.status&&(e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:e.shared.translations.txt_296,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.loadItems())}))},invalid:function(t){var e=this;e.loading=!0,this.axios.get(rafflepress_invalid_selected_entries_url+"&ids="+encodeURIComponent(t.toString())).then((function(t){e.loading=!1,e.$refs.entriesdt.clear_checked(),t.data.status&&(e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:e.shared.translations.txt_297,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.loadItems())}))},trash:function(){var t=this,e=this;this.$swal({imageUrl:e.shared.plugin_path+"public/img/warning-lg.png",title:e.shared.translations.txt_255,type:null,showCancelButton:!0,confirmButtonColor:"#d33",confirmButtonText:e.shared.translations.txt_298}).then((function(s){s.value&&(e.loading=!0,t.axios.get(rafflepress_delete_invalid_entries_url).then((function(t){e.loading=!1,e.$refs.entriesdt.clear_checked(),t.data.status&&(e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:e.shared.translations.txt_299,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.loadItems())})))}))},export:function(){location.href=rafflepress_export_entries_url+"&id="+this.giveaway_id,this.$swal({imageUrl:this.shared.plugin_path+"public/img/success.png",text:this.shared.translations.txt_300,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})},loadItems:function(t,e){"search"==t&&(this.currentpage=1,this.orderby="",this.order="",this.filter="");var s=this;s.loading=!0,C.a.start(),e&&(this.giveaway_id=e),this.axios.get(rafflepress_entries_datatable_url+"¤t_page="+this.currentpage+"&orderby="+this.orderby+"&order="+this.order+"&filter="+this.filter+"&s="+encodeURIComponent(this.search)+"&id="+this.giveaway_id).then((function(t){s.loading=!1,C.a.done(),s.giveaway_name=t.data.giveaway_name,s.rows=t.data.rows,s.totalitems=parseInt(t.data.totalitems),s.totalpages=parseInt(t.data.totalpages),s.currentpage=parseInt(t.data.currentpage),t.data.views}))},filter_table:function(t){this.filter=t,"contestants"==t?this.goto_contestants():0==this.filters[t].count?this.rows=[]:this.loadItems()},goToPage:function(t){this.currentpage=t,this.loadItems()},onActionClick:function(t,e){"duplicate"==t&&this.duplicate(e),"setup"==t&&(location.href="?page="+this.shared.page_path+"_builder&id="+e.id+"#/setup/"+e.id),"publish"==t&&(location.href="?page="+this.shared.page_path+"_builder&id="+e.id+"#/publish/"+e.id),"contestants"==t&&this.$router.push({name:"entries",params:{id:e.id}})},onBulkAction:function(t,e){"valid_selected_entries"==t&&this.valid(e),"invalid_selected_entries"==t&&this.invalid(e),"delete_all_invalid_entries"==t&&this.trash(),"export_all_entries"==t&&this.export()},sortCallback:function(t,e){this.orderby=t,this.order=e,this.loadItems()}},created:function(){"image"==this.$route.params.contestant_id?(this.search="image",this.loadItems("search",this.$route.params.id)):this.$route.params.contestant_id?(this.search=this.$route.params.contestant_id,this.loadItems("search",this.$route.params.id)):this.loadItems("",this.$route.params.id)},watch:{$route:function(t,e){this.filter="all",this.giveaway_name="...",t.params.contestant_id?(this.search=t.params.contestant_id,this.loadItems("search",t.params.id)):(this.search="",this.loadItems("",t.params.id))}}},B=R,j=Object(d["a"])(B,$,T,!1,null,null,null),O=j.exports,M=function(){var t=this,e=t._self._c;return e("div",[e("h1",{staticClass:"wrap",attrs:{id:"rafflepress-page-title"}},[t._v("\n\t\t"+t._s(t.shared.translations.txt_600)+"\n\t\t"),e("a",{staticClass:"add-new-h2 rafflepress-btn-orange",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto_dashboard.apply(null,arguments)}}},[t._v(t._s(t.shared.translations.txt_601))])]),e("div",{staticClass:"wrap",attrs:{id:"rafflepress-entries"}},[e("div",{attrs:{id:"poststuff"}},[e("div",{staticClass:"metabox-holder columns-1",attrs:{id:"post-body"}},[e("div",{attrs:{id:"post-body-content"}},[e("div",{staticClass:"rafflepress-charts results_loading"},t._l(t.charts,(function(t,s){return e("div",[e("GChart",{attrs:{type:"PieChart",data:t.chartData,options:t.chartOptions}})],1)})),0)])]),e("br",{staticClass:"clear"})])])])},D=[],U=s("cb43"),L={name:"Results",components:{GChart:U["GChart"]},data:function(){return{shared:rafflepress_store_admin,charts:[]}},methods:{goto_dashboard:function(){this.$router.push({name:"dashboard"})},loadData:function(t){var e=this;e.loading=!0,C.a.start(),this.axios.get(rafflepress_ps_results_datatable_url+"&giveaway_id="+t).then((function(t){e.loading=!1,C.a.done(),e.charts=t.data}))}},created:function(){this.loadData(this.$route.params.id)}},W=L,E=Object(d["a"])(W,M,D,!1,null,null,null),F=E.exports,z=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{position:"relative"}},[e("h1",{staticClass:"wrap",attrs:{id:"rafflepress-page-title"}},[t._v("\n\t\t"+t._s(t.shared.translations.txt_216)+"\n\t\t"),e("a",{staticClass:"add-new-h2 rafflepress-btn-orange",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.shared.show_winners_advanced_options=!t.shared.show_winners_advanced_options}}},[t._v(t._s(t.shared.translations.txt_217))])]),t.shared.show_winners_advanced_options?e("div",{attrs:{id:"rafflepress-winner-options"}},[e("div",{on:{click:function(e){return t.show_upgrade_notice("Bulk Winner Selection","bulk winner selection","bulk-winner-selection")}}},[e("h3",{staticStyle:{margin:"0","text-align":"center","margin-bottom":"10px"}},[t._v("\n\t\t\t\t"+t._s(t.shared.translations.txt_218)+"\n\t\t\t")]),e("div",{staticClass:"form-group rafflepress-pro-feature"},[e("label",[t._v(t._s(t.shared.translations.txt_219))]),e("input",{staticClass:"form-control input-sm",staticStyle:{width:"100px",display:"inline-block"},attrs:{type:"number",min:"0",step:"1",required:"",pattern:"\\d+",value:"1",disabled:""}})]),e("div",{staticClass:"form-group"},[e("div",{staticClass:"radio"},[e("label",[e("input",{attrs:{type:"radio",value:"unconfirmed",checked:""}}),e("strong",[t._v(t._s(t.shared.translations.txt_220))])])])]),e("div",{staticClass:"form-group rafflepress-pro-feature"},[e("div",{staticClass:"radio"},[e("label",[e("input",{attrs:{type:"radio",value:"confirmed",disabled:""}}),e("strong",[t._v(t._s(t.shared.translations.txt_221))])])])])]),e("button",{staticClass:"btn btn-primary btn-block",on:{click:function(e){return e.preventDefault(),t.pick_winner.apply(null,arguments)}}},[t._v("\n\t\t\t"+t._s(t.shared.translations.txt_222)+"\n\t\t")])]):t._e(),e("div",{staticClass:"wrap",attrs:{id:"rafflepress-entries"}},[e("span",{staticClass:"rafflepress-breadcrumbs",staticStyle:{display:"none"}},[e("small",[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto_dashboard.apply(null,arguments)}}},[t._v("Dashboard")]),t._v(" >\n\t\t\t\t"),e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto_giveaway.apply(null,arguments)}}},[t._v(t._s(t.giveaway_name))]),t._v("\n\t\t\t\t>\n\t\t\t\t"),e("strong",[t._v("Contestants")])])]),e("div",{attrs:{id:"rafflepress-giveway-details"}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-6"},[e("span",{attrs:{id:"giveaway-details-sub"}},[t._v(t._s(t.shared.translations.txt_223))]),e("h3",{attrs:{id:"giveaway-details-title"}},[t._v(t._s(t.giveaway_name))]),e("div",{staticClass:"giveaway-selector"},[e("a",{staticClass:"toggle dashicons dashicons-arrow-down-alt2 active",attrs:{href:"#",title:"Open form selector"},on:{click:function(e){return e.preventDefault(),t.toggle_giveaway_list.apply(null,arguments)}}}),t.show_giveaway_list?e("div",{attrs:{id:"giveaway-list"}},[e("ul",[0==t.giveaway_list.length?e("li",{attrs:{id:"raffleprsss-giveaway-list-loading"}},[e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_224)+"\n\t\t\t\t\t\t\t\t\t\t"),e("i",{staticClass:"fas fa-spinner fa-spin"})])]):t._e(),t._l(t.giveaway_list,(function(s){return e("li",[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.load_giveaway_users(s.id)}}},[t._v(t._s(s.name))])])}))],2)]):t._e()])]),e("div",{staticClass:"col-md-6"},[e("div",{attrs:{id:"giveaway-details-actions"}},[e("a",{staticClass:"giveaway-details-actions",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto_entries_report.apply(null,arguments)}}},[e("span",{staticClass:"dashicons dashicons-chart-pie"}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_664)+"\n\t\t\t\t\t\t")]),e("a",{staticClass:"giveaway-details-actions",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto_giveaway.apply(null,arguments)}}},[e("span",{staticClass:"dashicons dashicons-edit"}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_225)+"\n\t\t\t\t\t\t")]),e("a",{staticClass:"giveaway-details-actions",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto_giveaway_preview.apply(null,arguments)}}},[e("span",{staticClass:"dashicons dashicons-visibility"}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_226)+"\n\t\t\t\t\t\t")]),e("a",{staticClass:"giveaway-details-actions",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.export_contestants.apply(null,arguments)}}},[e("span",{staticClass:"dashicons dashicons-migrate"}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_227)+"\n\t\t\t\t\t\t")]),e("a",{staticClass:"giveaway-details-actions",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.export_entries.apply(null,arguments)}}},[e("span",{staticClass:"dashicons dashicons-migrate"}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_228)+"\n\t\t\t\t\t\t")])])])])]),e("div",{attrs:{id:"poststuff"}},[e("div",{staticClass:"metabox-holder columns-1",attrs:{id:"post-body"}},[e("div",{attrs:{id:"post-body-content"}},[e("ul",{staticClass:"subsubsub"},t._l(t.filters,(function(s,a){return e("li",[e("a",{class:{current:t.filter==a},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.filter_table(a)}}},[t._v(t._s(s.label))]),t._v("\n\t\t\t\t\t\t\t("+t._s(s.count)+")\n\t\t\t\t\t\t\t"),"winners"!=a?e("span",[t._v("|")]):t._e()])})),0),e("p",{staticClass:"search-box"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"order-search-input"}},[t._v(t._s(t.shared.translations.txt_229))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],attrs:{type:"search",id:"order-search-input"},domProps:{value:t.search},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.loadItems("search")},input:function(e){e.target.composing||(t.search=e.target.value)}}}),t._v(" \n\t\t\t\t\t\t"),t.search.length>0?e("i",{staticClass:"fas fa-times-circle",attrs:{id:"rafflepress-search-close"},on:{click:function(e){return e.preventDefault(),t.clear_search.apply(null,arguments)}}}):t._e(),e("input",{staticClass:"button",attrs:{type:"submit",id:"search-submit"},domProps:{value:t.shared.translations.txt_229},on:{click:function(e){return e.preventDefault(),t.loadItems("search")}}})]),e("list-table",{ref:"contestantsdt",attrs:{columns:t.columns,loading:t.loading,rows:t.rows,actions:t.actions,"show-cb":t.showcb,"total-items":t.totalitems,"bulk-actions":t.bulkactions,"total-pages":t.totalpages,"per-page":t.perpage,"current-page":t.currentpage,"action-column":t.actioncol,"sort-by":t.orderby,"sort-order":t.order},on:{pagination:t.goToPage,"action:click":t.onActionClick,"bulk:click":t.onBulkAction,sort:t.sortCallback},scopedSlots:t._u([{key:"email",fn:function(s){return[e("div",{on:{mouseover:function(e){return t.show_actions(s.row.id)},mouseout:function(e){return t.show_actions(!1)}}},["1"==s.row.winner?e("i",{staticClass:"fas fa-trophy"}):t._e(),t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.row.email)+"\n\t\t\t\t\t\t\t\t"),e("br"),"1"==s.row.winner?e("div",{staticClass:"invisible",class:{show_hidden:t.show_action==s.row.id}},[e("a",{attrs:{href:"mailto:"+s.row.email+"?subject=You+Won%21",target:"_blank"}},[t._v(t._s(t.shared.translations.txt_230))]),t._v(" | \n\t\t\t\t\t\t\t\t\t"),e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.invalid(s.row.id)}}},[t._v(t._s(t.shared.translations.txt_231))]),t._v("\n\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t"),e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.show_entries(s.row.email)}}},[t._v(t._s(t.shared.translations.txt_232))])]):e("div",[t.contains_str("No",s.row.status)?e("div",{staticClass:"invisible",class:{show_hidden:t.show_action==s.row.id}},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.confirm(s.row.id)}}},[t._v(t._s(t.shared.translations.txt_234))]),t._v(" | \n\t\t\t\t\t\t\t\t\t\t"),e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.invalid(s.row.id)}}},[t._v(t._s(t.shared.translations.txt_235))]),t._v("\n\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t\t"),e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.show_entries(s.row.email)}}},[t._v(t._s(t.shared.translations.txt_232))])]):t.contains_str("Yes",s.row.status)?e("div",{staticClass:"invisible",class:{show_hidden:t.show_action==s.row.id}},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.invalid(s.row.id)}}},[t._v(t._s(t.shared.translations.txt_235))]),t._v("\n\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t\t"),e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.show_entries(s.row.email)}}},[t._v(t._s(t.shared.translations.txt_232))])]):t._e(),t.contains_str("Invalid",s.row.status)?e("div",{staticClass:"invisible",class:{show_hidden:t.show_action==s.row.id}},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.confirm(s.row.id)}}},[t._v(t._s(t.shared.translations.txt_234))]),t._v("\n\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t\t"),e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.show_entries(s.row.email)}}},[t._v(t._s(t.shared.translations.txt_232))])]):t._e()])])]}},{key:"active",fn:function(s){return[e("toggle-button",{attrs:{width:40},on:{change:function(e){return t.enable_disable(s.row)}},model:{value:s.row.active,callback:function(e){t.$set(s.row,"active",e)},expression:"data.row.active"}})]}}])})],1)]),e("br",{staticClass:"clear"})])])])},N=[],G=s("b132"),q={name:"Contestants",mixins:[G["a"]],components:{ListTable:k},data:function(){return{show_giveaway_list:!1,shared:rafflepress_store_admin,giveaway_name:"",show_advanced_options:!1,qualified:"unconfirmed",number_of_winners:1,show_action:!1,giveaway_id:this.$route.params.id,loading:!0,search:"",showcb:!0,totalitems:0,totalpages:0,perpage:20,actioncol:"name",currentpage:1,orderby:"",order:"",filter:"all",filters:{all:{label:rafflepress_store_admin.translations.txt_236,count:0},confirmed:{label:rafflepress_store_admin.translations.txt_237,count:0},unconfirmed:{label:rafflepress_store_admin.translations.txt_238,count:0},invalid:{label:rafflepress_store_admin.translations.txt_239,count:0},winners:{label:rafflepress_store_admin.translations.txt_240,count:0}},bulkactions:[{key:"confirm_selected_contestants",label:rafflepress_store_admin.translations.txt_234},{key:"unconfirm_selected_contestants",label:rafflepress_store_admin.translations.txt_241},{key:"invalid_selected_contestants",label:rafflepress_store_admin.translations.txt_242},{key:"delete_all_invalid_contestants",label:rafflepress_store_admin.translations.txt_243}],columns:{email:{label:rafflepress_store_admin.translations.txt_244,sortable:!0},name:{label:rafflepress_store_admin.translations.txt_245,sortable:!1},status:{label:rafflepress_store_admin.translations.txt_237,sortable:!0},entries:{label:rafflepress_store_admin.translations.txt_246,sortable:!0},created_at:{label:rafflepress_store_admin.translations.txt_247,sortable:!0}},actions:[],giveaway_list:[],rows:[{name:rafflepress_store_admin.translations.txt_224+" ...",status:"",type:"",contestants:"",entries:"",active:""}]}},methods:{toggle_giveaway_list:function(){!1===this.show_giveaway_list&&this.load_giveaways(),this.show_giveaway_list=!this.show_giveaway_list},load_giveaways:function(){var t=this;this.axios.get(rafflepress_get_giveaway_list).then((function(e){e.data&&(t.giveaway_list=e.data)}))},load_giveaway_users:function(t){this.show_giveaway_list=!1,this.$router.push({name:"contestants",params:{id:t}})},pick_winner:function(){var t=this;t.loading=!0,C.a.start(),this.axios.get(rafflepress_pick_winners_url+"&id="+this.giveaway_id+"&number_of_winners="+this.number_of_winners+"&qualified="+this.qualified).then((function(e){t.loading=!1,C.a.done(),t.shared.show_winners_advanced_options=!1,e.data.status?(t.$swal({imageUrl:t.shared.plugin_path+"public/img/success.png",text:t.shared.translations.txt_250,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),t.loadItems()):t.$swal({imageUrl:t.shared.plugin_path+"public/img/error.png",text:t.shared.translations.txt_251,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}))},show_actions:function(t){this.show_action=t},contains_str:function(t,e){return!(!e||-1===e.indexOf(t))},goto_dashboard:function(){this.$router.push({name:"dashboard"})},goto_giveaway:function(){location.href="?page="+this.shared.page_path+"_builder&id="+this.$route.params.id+"#/setup/"+this.$route.params.id},goto_giveaway_preview:function(){window.open(this.shared.home_url+"?rafflepress_page=rafflepress_render&rafflepress_id="+this.$route.params.id+"&rafflepress-preview=1","_blank")},clear_search:function(){this.search,this.loadItems()},show_entries:function(t){this.$router.push({name:"entries",params:{id:this.giveaway_id,contestant_id:t}})},confirm:function(t){var e=this;e.loading=!0,this.axios.get(rafflepress_confirm_selected_contestants_url+"&ids="+encodeURIComponent(t.toString())).then((function(t){e.loading=!1,e.$refs.contestantsdt.clear_checked(),t.data.status&&(e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:e.shared.translations.txt_252,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.loadItems())}))},unconfirm:function(t){var e=this;e.loading=!0,this.axios.get(rafflepress_unconfirm_selected_contestants_url+"&ids="+encodeURIComponent(t.toString())).then((function(t){e.loading=!1,e.$refs.contestantsdt.clear_checked(),t.data.status&&(e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:e.shared.translations.txt_253,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.loadItems())}))},invalid:function(t){var e=this;e.loading=!0,this.axios.get(rafflepress_invalid_selected_contestants_url+"&ids="+encodeURIComponent(t.toString())).then((function(t){e.loading=!1,e.$refs.contestantsdt.clear_checked(),t.data.status&&(e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:e.shared.translations.txt_254,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.loadItems())}))},trash:function(){var t=this,e=this;this.$swal({imageUrl:e.shared.plugin_path+"public/img/warning-lg.png",title:e.shared.translations.txt_255,type:null,showCancelButton:!0,confirmButtonColor:"#d33",confirmButtonText:e.shared.translations.txt_256}).then((function(s){s.value&&(e.loading=!0,t.axios.get(rafflepress_delete_invalid_contestants_url).then((function(t){e.loading=!1,e.$refs.contestantsdt.clear_checked(),t.data.status&&(e.$swal({imageUrl:e.shared.plugin_path+"public/img/error.png",text:e.shared.translations.txt_257,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.loadItems())})))}))},export_contestants:function(){this.show_upgrade_notice("Export Users","Export Users","export-users")},export_entries:function(){this.show_upgrade_notice("Export Entries","Export Entries","export-entries")},goto_entries_report:function(){this.show_upgrade_notice("Entries Report","Entries Report","entries-report")},loadItems:function(t,e){"search"==t?(this.currentpage=1,this.orderby="",this.order="",this.filter=""):this.search="";var s=this;s.loading=!0,C.a.start(),e&&(this.giveaway_id=e),this.axios.get(rafflepress_contestants_datatable_url+"¤t_page="+this.currentpage+"&orderby="+this.orderby+"&order="+this.order+"&filter="+this.filter+"&s="+encodeURIComponent(this.search)+"&id="+this.giveaway_id).then((function(t){s.loading=!1,C.a.done(),s.giveaway_name=t.data.giveaway_name,s.rows=t.data.rows,s.totalitems=parseInt(t.data.totalitems),s.totalpages=parseInt(t.data.totalpages),s.currentpage=parseInt(t.data.currentpage),null!=t.data.views&&(s.filters.all.count=parseInt(t.data.views.all),s.filters.confirmed.count=parseInt(t.data.views.confirmed),s.filters.unconfirmed.count=parseInt(t.data.views.unconfirmed),s.filters.invalid.count=parseInt(t.data.views.invalid),s.filters.winners.count=parseInt(t.data.views.winners))}))},filter_table:function(t){var e=this.filter;this.filter=t,e!=t&&(this.currentpage=1),"entries"==t?this.$router.push({name:"entries",params:{id:this.giveaway_id}}):0==this.filters[t].count?this.rows=[]:this.loadItems()},goToPage:function(t){this.currentpage=t,this.loadItems()},onActionClick:function(t,e){"duplicate"==t&&this.duplicate(e),"setup"==t&&(location.href="?page="+this.shared.page_path+"_builder&id="+e.id+"#/setup/"+e.id),"publish"==t&&(location.href="?page="+this.shared.page_path+"_builder&id="+e.id+"#/publish/"+e.id),"contestants"==t&&this.$router.push({name:"entries",params:{id:e.id}})},onBulkAction:function(t,e){"confirm_selected_contestants"==t&&this.confirm(e),"unconfirm_selected_contestants"==t&&this.unconfirm(e),"invalid_selected_contestants"==t&&this.invalid(e),"delete_all_invalid_contestants"==t&&this.trash(),"export_all_contestants"==t&&this.export_contestants()},sortCallback:function(t,e){this.orderby=t,this.order=e,this.loadItems()}},created:function(){this.loadItems()},watch:{$route:function(t,e){this.giveaway_name="...",this.filter="all",this.loadItems("",t.params.id)}}},H=q,V=Object(d["a"])(H,z,N,!1,null,null,null),Y=V.exports,K=function(){var t=this,e=t._self._c;return e("div",[e("nav",{staticClass:"navbar navbar-default",attrs:{id:"rafflepress-settings-nav"}},[e("ul",{staticClass:"nav navbar-nav"},[e("router-link",{attrs:{tag:"li",to:{name:"settings_general"}}},[e("a",[e("span",[t._v(t._s(t.shared.translations.txt_301))])])]),e("router-link",{attrs:{tag:"li",to:{name:"settings_email"}}},[e("a",[e("span",[t._v(t._s(t.shared.translations.txt_302))])])]),e("router-link",{attrs:{tag:"li",to:{name:"settings_integrations"}}},[e("a",[e("span",[t._v(t._s(t.shared.translations.txt_303))])])])],1)]),e("div",{staticClass:"wrap",attrs:{id:"rafflepress-settings"}},[e("router-view",{attrs:{name:"main"}})],1)])},Z=[],J={name:"Settings",data:function(){return{shared:rafflepress_store_admin}},created:function(){var t=document.querySelector(".wp-first-item a[href='admin.php?page="+this.shared.page_path+"']"),e="current";t.classList.remove(e),t.parentNode.classList.remove(e);t=document.querySelector("a[href='admin.php?page="+this.shared.page_path+"_settings']"),e="current";t.classList?t.classList.add(e):t.className+=" "+e,t.parentNode.classList?t.parentNode.classList.add(e):t.parentNode.className+=" "+e},methods:{}},Q=J,X=Object(d["a"])(Q,K,Z,!1,null,null,null),tt=X.exports,et=function(){var t=this,e=t._self._c;return e("div",[e("table",{staticClass:"form-table"},[e("tbody",[e("tr",{staticClass:"rafflepress-settings-title",attrs:{valign:"top"}},[e("td",{attrs:{colspan:"2"}},[e("h4",[t._v(t._s(t.shared.translations.txt_313))]),"rafflepress_pro"==t.shared.page_path?e("p",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_314)+"\n\t\t\t\t\t\t")]):t._e(),"rafflepress_lite"==t.shared.page_path?e("p",[e("span",{domProps:{innerHTML:t._s(t.shared.translations.txt_315)}}),e("img",{staticClass:"emoji",attrs:{draggable:"false",alt:"🙂",src:"https://s.w.org/images/core/emoji/11.2.0/svg/1f642.svg"}})]):t._e(),"rafflepress_lite"==t.shared.page_path?e("p",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_316)+"\n\t\t\t\t\t\t\t"),e("a",{attrs:{href:"https://www.rafflepress.com/lite-upgrade/?discount=LITEUPGRADE&utm_source=WordPress&utm_medium=rafflepress-license-page&utm_campaign=liteplugin",target:"_blank"}},[t._v(t._s(t.shared.translations.txt_317))]),e("span",{domProps:{innerHTML:t._s(t.shared.translations.txt_318)}})]):t._e(),"rafflepress_lite"==t.shared.page_path?e("p",{staticStyle:{"margin-top":"12px"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_319)+"\n\t\t\t\t\t\t\t"),e("a",{attrs:{href:this.shared.upgrade_link+"welcome",target:"_blank"}},[t._v("RafflePress Pro")]),t._v(", "+t._s(t.shared.translations.txt_320)+"\n\t\t\t\t\t\t")]):t._e()])]),e("tr",{staticClass:"rafflepress-settings-form",attrs:{valign:"top"}},[e("th",{attrs:{scope:"row"}},[e("strong",[t._v(t._s(t.shared.translations.txt_321))])]),e("td",[e("form",{staticClass:"form-inline"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.shared.settings_page_meta.api_key,expression:"shared.settings_page_meta.api_key"}],staticClass:"form-control",staticStyle:{"margin-bottom":"5px"},attrs:{type:"password",autocomplete:"off",placeholder:t.shared.translations.txt_322},domProps:{value:t.shared.settings_page_meta.api_key},on:{input:function(e){e.target.composing||t.$set(t.shared.settings_page_meta,"api_key",e.target.value)}}}),e("button",{staticClass:"btn btn-primary btn-sm",attrs:{disabled:t.shared.doing_ajax&&"api_key"==t.shared.settings_page_meta.button},on:{click:function(e){return e.preventDefault(),t.save_api_key.apply(null,arguments)}}},[t.shared.doing_ajax&&"api_key"==t.shared.settings_page_meta.button?e("i",{staticClass:"fas fa-spinner fa-spin"}):t._e(),t._v(" "),t.shared.license_name?e("span",[t._v(t._s(t.shared.translations.txt_323))]):e("span",[t._v(t._s(t.shared.translations.txt_324))])]),t._v("\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t"),t.shared.license_name?e("span",[e("button",{staticClass:"btn btn-primary btn-sm",attrs:{disabled:t.shared.doing_ajax&&"deactivate_api_key"==t.shared.settings_page_meta.button},on:{click:function(e){return e.preventDefault(),t.deactivate_api_key.apply(null,arguments)}}},[t.shared.doing_ajax&&"deactivate_api_key"==t.shared.settings_page_meta.button?e("i",{staticClass:"fas fa-spinner fa-spin"}):t._e(),t._v(" "),e("span",[t._v(t._s(t.shared.translations.txt_325))])])]):t._e(),t._v("\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t"),"rafflepress_lite"==t.shared.page_path&&t.show_unlock?e("span",[e("button",{staticClass:"btn btn-primary btn-sm",attrs:{disabled:t.shared.doing_ajax&&"unlock"==t.shared.settings_page_meta.button},on:{click:t.start_free_to_pro_upgrade}},[t.shared.doing_ajax&&"unlock"==t.shared.settings_page_meta.button?e("i",{staticClass:"fas fa-spinner fa-spin"}):t._e(),t._v(" "+t._s(t.shared.translations.txt_326)+"\n\t\t\t\t\t\t\t\t")])]):t._e()]),t.shared.license_name?e("div",{staticStyle:{"margin-top":"2px"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_327)+"\n\t\t\t\t\t\t\t"),e("strong",[t._v(t._s(t.shared.license_name))]),t._v(" "+t._s(t.shared.translations.txt_328)+".\n\t\t\t\t\t\t")]):t.shared.settings_page_meta.lmsg?e("div",{staticStyle:{"margin-top":"2px",background:"#fcf8e3",color:"#222",padding:"10px"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.settings_page_meta.lmsg)+" Please "),e("a",{attrs:{href:"https://app.rafflepress.com/login",target:"_blank"}},[t._v("log in to your account")]),t._v(" to check the status of your license."),t._m(0)]):t._e()])]),e("tr",{staticClass:"rafflepress-settings-title",attrs:{valign:"top"}},[e("td",{attrs:{colspan:"2"}},[e("h4",[t._v(t._s(t.shared.translations.txt_301))])])]),"rafflepress_lite"==t.shared.page_path?e("tr",{staticClass:"rafflepress-settings-form rafflepress-pro-feature",attrs:{valign:"top"},on:{click:function(e){return t.show_upgrade_notice("Timezones","timezone","timezone")}}},[e("th",{attrs:{scope:"row"}},[e("strong",[t._v(t._s(t.shared.translations.txt_329))])]),t._m(1)]):e("tr",{staticClass:"rafflepress-settings-form",attrs:{valign:"top"}},[e("th",{attrs:{scope:"row"}},[e("strong",[t._v(t._s(t.shared.translations.txt_329))])]),e("td",[e("select",{directives:[{name:"model",rawName:"v-model",value:t.shared.settings_page_meta.settings.default_timezone,expression:"\n\t\t\t\t\t\t\t\tshared.settings_page_meta.settings\n\t\t\t\t\t\t\t\t\t.default_timezone\n\t\t\t\t\t\t\t"}],staticClass:"form-control",attrs:{name:"timezone"},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.shared.settings_page_meta.settings,"default_timezone",e.target.multiple?s:s[0])}}},t._l(t.shared.settings_page_meta.timezones,(function(s,a){return e("optgroup",{key:a,attrs:{label:a}},t._l(s,(function(s,a){return e("option",{key:a,domProps:{value:s.v}},[t._v(t._s(s.l))])})),0)})),0)])]),e("tr",{staticClass:"rafflepress-settings-form",attrs:{valign:"top"}},[e("th",{attrs:{scope:"row"}},[e("strong",[t._v(t._s(t.shared.translations.txt_779))])]),e("td",[e("p",[e("toggle-button",{attrs:{width:40},model:{value:t.shared.settings_page_meta.settings.disable_rafflepress_notifications,callback:function(e){t.$set(t.shared.settings_page_meta.settings,"disable_rafflepress_notifications",e)},expression:"shared.settings_page_meta.settings.disable_rafflepress_notifications"}}),t._v(" "),t.shared.settings_page_meta.settings.disable_rafflepress_notifications?e("span",[t._v(t._s(t.shared.translations.txt_340))]):e("span",[t._v(t._s(t.shared.translations.txt_341))])],1)])]),e("tr",{staticClass:"rafflepress-settings-submit",attrs:{valign:"top"}},[e("td",{attrs:{colspan:"2"}},[e("button",{staticClass:"btn btn-primary btn-sm",attrs:{disabled:t.shared.doing_ajax&&"settings"==t.shared.settings_page_meta.button},on:{click:function(e){return e.preventDefault(),t.save_settings.apply(null,arguments)}}},[t.shared.doing_ajax&&"settings"==t.shared.settings_page_meta.button?e("i",{staticClass:"fas fa-spinner fa-spin"}):t._e(),t._v(" "+t._s(t.shared.translations.txt_310)+"\n\t\t\t\t\t\t")])])])])]),e("SettingsLiteCTA")],1)},st=[function(){var t=this,e=t._self._c;return e("div",{staticStyle:{"margin-top":"8px"}},[t._v("Don't have a license key? "),e("a",{attrs:{href:"https://rafflepress.com/?utm_source=wordpress&utm_medium=license-settinga&utm_campaign=invalid-license",target:"_blank"}},[t._v("Click here to purchase one.")])])},function(){var t=this,e=t._self._c;return e("td",[e("select",{staticClass:"form-control",attrs:{name:"timezone"}},[e("option",[t._v("UTC")])])])}],at=(s("a481"),function(){var t=this,e=t._self._c;return e("div",[!1===t.shared.settings_page_meta.dismiss_settings_lite_cta&&"rafflepress_lite"==t.shared.page_path?e("div",{attrs:{id:"rafflepress-settings-lite-cta"}},[e("a",{staticClass:"dismiss",attrs:{href:"#",title:"Dismiss this message"},on:{click:function(e){return e.preventDefault(),t.dismiss.apply(null,arguments)}}},[e("i",{staticClass:"fa fa-times-circle",attrs:{"aria-hidden":"true"}})]),e("h5",[t._v("Get RafflePress Pro and Unlock all the Powerful Features")]),e("p",[t._v("\n\t\t\tThanks for being a loyal RafflePress Lite user. Upgrade to\n\t\t\tRafflePress Pro to unlock all the awesome features and\n\t\t\texperience why RafflePress is the best WordPress giveaway\n\t\t\tplugin.\n\t\t")]),e("h6",[t._v("Pro Features:")]),t._m(0),t._m(1),t._m(2)]):t._e()])}),it=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list"},[e("ul",[e("li",[t._v("Drag & Drop Giveaway Builder")]),e("li",[t._v("Responsive Mobile Friendly")]),e("li",[t._v("Viral Sharing (Refer-a-Friend)")]),e("li",[t._v("Marketing & CRM Integrations")]),e("li",[t._v("Tracking and Retargeting")])]),e("ul",[e("li",[t._v("\n\t\t\t\t\tViral Giveaway Templates\n\t\t\t\t")]),e("li",[t._v("\n\t\t\t\t\t1-Click Entry + Fraud Protection\n\t\t\t\t")]),e("li",[t._v("Social Media Integrations")]),e("li",[t._v("\n\t\t\t\t\tGiveaway Landing Page\n\t\t\t\t")]),e("li",[t._v("Growing Library of Actions")])])])},function(){var t=this,e=t._self._c;return e("p",[e("a",{attrs:{href:"https://rafflepress.com/lite-upgrade/?utm_source=WordPress&utm_medium=settings-upgrade&utm_campaign=liteplugin",target:"_blank"}},[t._v("\n\t\t\t\tGet RafflePress Pro Today and Unlock all the Powerful\n\t\t\t\tFeatures »\n\t\t\t")])])},function(){var t=this,e=t._self._c;return e("p",[e("strong",[t._v("Bonus:")]),t._v(" RafflePress Lite users get\n\t\t\t"),e("span",{staticClass:"green"},[t._v("a discount off the regular price")]),t._v(", automatically\n\t\t\tapplied at checkout.\n\t\t")])}],nt={name:"SettingsLiteCTA",data:function(){return{shared:rafflepress_store_admin}},methods:{dismiss:function(){var t=this,e=o.a.stringify({dismiss:!0});this.shared.settings_page_meta.dismiss_settings_lite_cta=!0,t.axios.post(rafflepress_dismiss_settings_lite_cta_url,e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"})}}},rt=nt,ot=Object(d["a"])(rt,at,it,!1,null,null,null),lt=ot.exports,pt={name:"SettingsGeneral",mixins:[G["a"]],data:function(){return{show_unlock:!1,shared:rafflepress_store_admin}},computed:{slug:function(){var t=this.slugify(this.page_meta.upgrade_feature);return t}},methods:{goto_dashboard:function(){this.$router.push({name:"dashboard"})},slugify:function(t){return t.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},start_free_to_pro_upgrade:function(){var t=this;C.a.start();var e=o.a.stringify({});t.shared.doing_ajax=!0,t.shared.settings_page_meta.button="unlock",t.$swal({imageUrl:t.shared.plugin_path+"public/img/success.png",text:"Preparing to Unlock... Please wait...",toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),this.axios.post(rafflepress_upgrade_license_url,e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((function(e){t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,e.data.success?location.href=e.data.data.url:t.$swal({imageUrl:t.shared.plugin_path+"public/img/error.png",text:e.data.data.message,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})})).catch((function(e){t.shared.doing_ajax=!1,t.shared.settings_page_meta.settings.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/img/error.png",text:e,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}))},save_settings:function(){var t=this;C.a.start(),this.$validator.validateAll().then((function(e){if(e){var s=o.a.stringify({settings:t.shared.settings_page_meta.settings});return t.shared.doing_ajax=!0,t.shared.settings_page_meta.button="settings",void t.axios.post(rafflepress_save_settings_ajax_url,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((function(e){C.a.done(),t.shared.doing_ajax=!1,t.shared.settings_page_meta.settings.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/img/success.png",text:t.shared.translations.txt_311,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:2e3}).then((function(){window.location.reload()}))})).catch((function(e){t.shared.doing_ajax=!1,t.shared.settings_page_meta.settings.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/img/error.png",text:t.shared.translations.txt_312,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}))}var a="";t.errors.all().forEach((function(t){a=a+t+"\n"})),a+="",t.$swal({imageUrl:t.shared.plugin_path+"public/img/error.png",text:a,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}))},deactivate_api_key:function(){var t=this,e=o.a.stringify({api_key:t.shared.settings_page_meta.api_key});t.shared.doing_ajax=!0,C.a.start(),t.shared.settings_page_meta.button="deactivate_api_key",t.axios.post(rafflepress_deactivate_api_key_ajax_url,e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((function(e){if(C.a.done(),t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,"true"==e.data.status){var s="success";t.shared.license_name="",t.shared.settings_page_meta.api_key=""}else s="error";t.$swal({imageUrl:t.shared.plugin_path+"public/img/"+s+".png",text:e.data.msg,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})})).catch((function(e){t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/img/error.png",text:"Could not be saved. Please contact Support if you continue to experience this issue.",toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}))},save_api_key:function(){var t=this,e=o.a.stringify({api_key:t.shared.settings_page_meta.api_key});t.shared.doing_ajax=!0,C.a.start(),t.shared.settings_page_meta.button="api_key",t.axios.post(rafflepress_save_api_key_ajax_url,e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((function(e){if(C.a.done(),t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,"true"==e.data.status){t.show_unlock=!0;var s="success";e.data.body.plugin_name&&(t.shared.license_name=e.data.body.plugin_name),!1===t.shared.active_license&&setTimeout(location.reload(),3e3)}else{s="error";e.data.body.plugin_name||(t.shared.license_name="")}t.$swal({imageUrl:t.shared.plugin_path+"public/img/"+s+".png",text:e.data.msg,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})})).catch((function(e){console.log(e),t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/img/error.png",text:"Could not be saved. Please contact Support if you continue to experience this issue.",toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}))}},components:{SettingsLiteCTA:lt}},ct=pt,dt=Object(d["a"])(ct,et,st,!1,null,null,null),ut=dt.exports,_t=function(){var t=this,e=t._self._c;return e("div",[e("table",{staticClass:"form-table"},[e("tbody",[e("tr",{staticClass:"rafflepress-settings-title",attrs:{valign:"top"}},[e("td",{attrs:{colspan:"2"}},[e("h4",[t._v(t._s(t.shared.translations.txt_302))])])]),"rafflepress_lite && 1 == 0"==t.shared.page_path?e("tr",{staticClass:"rafflepress-settings-form rafflepress-pro-feature",attrs:{valign:"top"},on:{click:function(e){return t.show_upgrade_notice("Update Notifications","update notifications","update-notifications")}}},[e("th",{attrs:{scope:"row"}},[e("strong",[t._v(t._s(t.shared.translations.txt_304))])]),e("td",[e("div",{staticClass:"checkbox"},[e("label",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.shared.settings_page_meta.settings.updates,expression:"\n\t\t\t\t\t\t\t\t\tshared.settings_page_meta.settings\n\t\t\t\t\t\t\t\t\t\t.updates\n\t\t\t\t\t\t\t\t"}],attrs:{type:"radio",name:"updates",value:"none"},domProps:{checked:t._q(t.shared.settings_page_meta.settings.updates,"none")},on:{change:function(e){return t.$set(t.shared.settings_page_meta.settings,"updates","none")}}}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_305)+"\n\t\t\t\t\t\t")])]),e("div",{staticClass:"checkbox"},[e("label",[e("input",{attrs:{type:"radio",name:"updates",value:"daily"}}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_306)+"\n\t\t\t\t\t\t")])]),e("div",{staticClass:"checkbox"},[e("label",[e("input",{attrs:{type:"radio",name:"updates",value:"weekly"}}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_307)+"\n\t\t\t\t\t\t")])]),"daily"==t.shared.settings_page_meta.settings.updates||"weekly"==t.shared.settings_page_meta.settings.updates?e("div",{staticClass:"form-group"},[e("label",[t._v(t._s(t.shared.translations.txt_308))]),e("input",{staticClass:"form-control input-sm",attrs:{type:"text"}})]):t._e()])]):e("tr",{staticClass:"rafflepress-settings-form",attrs:{valign:"top"}},[e("th",{attrs:{scope:"row"}},[e("strong",[t._v(t._s(t.shared.translations.txt_309))])]),e("td",[e("div",{staticClass:"checkbox"},[e("label",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.shared.settings_page_meta.settings.updates,expression:"\n\t\t\t\t\t\t\t\t\tshared.settings_page_meta.settings\n\t\t\t\t\t\t\t\t\t\t.updates\n\t\t\t\t\t\t\t\t"}],attrs:{type:"radio",name:"updates",value:"none"},domProps:{checked:t._q(t.shared.settings_page_meta.settings.updates,"none")},on:{change:function(e){return t.$set(t.shared.settings_page_meta.settings,"updates","none")}}}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_305)+"\n\t\t\t\t\t\t")])]),e("div",{staticClass:"checkbox"},[e("label",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.shared.settings_page_meta.settings.updates,expression:"\n\t\t\t\t\t\t\t\t\tshared.settings_page_meta.settings\n\t\t\t\t\t\t\t\t\t\t.updates\n\t\t\t\t\t\t\t\t"}],attrs:{type:"radio",name:"updates",value:"daily"},domProps:{checked:t._q(t.shared.settings_page_meta.settings.updates,"daily")},on:{change:function(e){return t.$set(t.shared.settings_page_meta.settings,"updates","daily")}}}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_306)+"\n\t\t\t\t\t\t")])]),e("div",{staticClass:"checkbox"},[e("label",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.shared.settings_page_meta.settings.updates,expression:"\n\t\t\t\t\t\t\t\t\tshared.settings_page_meta.settings\n\t\t\t\t\t\t\t\t\t\t.updates\n\t\t\t\t\t\t\t\t"}],attrs:{type:"radio",name:"updates",value:"weekly"},domProps:{checked:t._q(t.shared.settings_page_meta.settings.updates,"weekly")},on:{change:function(e){return t.$set(t.shared.settings_page_meta.settings,"updates","weekly")}}}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_307)+"\n\t\t\t\t\t\t")])]),"daily"==t.shared.settings_page_meta.settings.updates||"weekly"==t.shared.settings_page_meta.settings.updates?e("div",{staticClass:"form-group"},[e("label",[t._v(t._s(t.shared.translations.txt_308))]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.shared.settings_page_meta.settings.updates_to,expression:"\n\t\t\t\t\t\t\t\tshared.settings_page_meta.settings\n\t\t\t\t\t\t\t\t\t.updates_to\n\t\t\t\t\t\t\t"}],staticClass:"form-control input-sm",attrs:{type:"text"},domProps:{value:t.shared.settings_page_meta.settings.updates_to},on:{input:function(e){e.target.composing||t.$set(t.shared.settings_page_meta.settings,"updates_to",e.target.value)}}})]):t._e()])]),e("tr",{staticClass:"rafflepress-settings-submit",attrs:{valign:"top"}},[e("td",{attrs:{colspan:"2"}},[e("button",{staticClass:"btn btn-primary btn-sm",attrs:{disabled:t.shared.doing_ajax&&"settings"==t.shared.settings_page_meta.button},on:{click:function(e){return e.preventDefault(),t.save_settings.apply(null,arguments)}}},[t.shared.doing_ajax&&"settings"==t.shared.settings_page_meta.button?e("i",{staticClass:"fas fa-spinner fa-spin"}):t._e(),t._v(" "+t._s(t.shared.translations.txt_310)+"\n\t\t\t\t\t")])])])])]),e("SettingsLiteCTA")],1)},ft=[],ht={name:"SettingsEmail",mixins:[G["a"]],data:function(){return{shared:rafflepress_store_admin}},methods:{save_settings:function(){var t=this;C.a.start(),this.$validator.validateAll().then((function(e){if(e){var s=o.a.stringify({settings:t.shared.settings_page_meta.settings});return t.shared.doing_ajax=!0,t.shared.settings_page_meta.button="settings",void t.axios.post(rafflepress_save_settings_ajax_url,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((function(e){C.a.done(),t.shared.doing_ajax=!1,t.shared.settings_page_meta.settings.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/img/success.png",text:t.shared.translations.txt_311,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})})).catch((function(e){t.shared.doing_ajax=!1,t.shared.settings_page_meta.settings.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/img/error.png",text:t.shared.translations.txt_312,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}))}var a="";t.errors.all().forEach((function(t){a=a+t+"\n"})),a+="",t.$swal({imageUrl:t.shared.plugin_path+"public/img/error.png",text:a,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}))}},components:{SettingsLiteCTA:lt}},gt=ht,mt=Object(d["a"])(gt,_t,ft,!1,null,null,null),vt=mt.exports,bt=(s("6762"),s("2fdb"),function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"rafflepress-settings-integrations"}},[e("table",{staticClass:"form-table"},[e("tbody",[e("tr",{staticClass:"rafflepress-settings-title",attrs:{valign:"top"}},[e("td",{attrs:{colspan:"2"}},[e("h4",[t._v(t._s(t.shared.translations.txt_303))]),e("p",[t._v("\n\t\t\t\t\t\t"+t._s(t.shared.translations.txt_330)+"\n\t\t\t\t\t")])])]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("activecampaign")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/activecampaign.png"}})]),t._m(0)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("aweber")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/aweber.png"}})]),t._m(1)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("campaignmonitor")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/campaignmonitor.png"}})]),t._m(2)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("constant-contact")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/constantcontact.png"}})]),t._m(3)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("covertkit")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/convertkit.svg"}})]),t._m(4)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("drip")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/drip.png"}})]),t._m(5)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("fluentcrm")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/fluent.png"}})]),t._m(6)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("fluentcrm")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/getresponse.png"}})]),t._m(7)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("icontact")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/icontact.png"}})]),t._m(8)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("madmimi")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/madmimi.png"}})]),t._m(9)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("mailerlite")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/mailerlite.png"}})]),t._m(10)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("moosend")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/moosend.png"}})]),t._m(11)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("sendinblue")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/sendinblue.png"}})]),t._m(12)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("sendy")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/sendy.png"}})]),t._m(13)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("webhooks")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/webhooks.svg"}})]),t._m(14)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("ei")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("mailchimp")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/mailchimp.png"}})]),t._m(15)]),e("tr",{staticClass:"rafflepress-settings-form",class:{"rafflepress-pro-feature":"rafflepress_lite"==t.shared.page_path||!t.shared.per.includes("zp")},staticStyle:{cursor:"pointer"},attrs:{valign:"top"},on:{click:function(e){return t.show_notice("zapier")}}},[e("td",[e("i",{staticClass:"fas fa-chevron-right"}),e("img",{attrs:{src:t.shared.plugin_path+"public/img/integrations/zapier.png"}})]),t._m(16)])])]),e("SettingsLiteCTA")],1)}),wt=[function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("ActiveCampaign")]),e("p",[t._v("Integrate ActiveCampaign with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("AWeber")]),e("p",[t._v("Integrate AWeber with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("Campaign Monitor")]),e("p",[t._v("Integrate Campaign Monitor with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("Constant Contact")]),e("p",[t._v("Integrate Constant Contact with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("ConvertKit")]),e("p",[t._v("Integrate ConvertKit with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("Drip")]),e("p",[t._v("Integrate Drip with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("FluentCRM")]),e("p",[t._v("Integrate FluentCRM with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("GetResponse")]),e("p",[t._v("Integrate GetResponse with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("iContact")]),e("p",[t._v("Integrate iContact with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("Mad Mimi")]),e("p",[t._v("Integrate Mad Mimi with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("MailerLite")]),e("p",[t._v("Integrate MailerLite with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("Moosend")]),e("p",[t._v("Integrate Moosend with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("Sendinblue")]),e("p",[t._v("Integrate Sendinblue with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("Sendy")]),e("p",[t._v("Integrate Sendy with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("Webhooks")]),e("p",[t._v("Integrate Webhooks with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("Mailchimp")]),e("p",[t._v("Integrate Mailchimp with RafflePress")])])},function(){var t=this,e=t._self._c;return e("td",[e("h4",[t._v("Zapier")]),e("p",[t._v("Integrate with 500+ services with RafflePress")])])}],yt={name:"SettingsIntegrations",mixins:[G["a"]],data:function(){return{shared:rafflepress_store_admin}},methods:{show_notice:function(t){if("activecampaign"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("ActiveCampaign"," ActiveCampaign","activecampaign-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){var e="https://rafflepress.com/docs/active-campaign/";window.open(e,"_blank")}}else this.show_uplock_notice("ActiveCampaign"," ActiveCampaign","activecampaign-integration");if("aweber"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("AWeber"," AWeber","aweber-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/aweber/";window.open(e,"_blank")}}else this.show_uplock_notice("AWeber"," AWeber","aweber-integration");if("campaignmonitor"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("Campaign Monitor"," Campaign Monitor","aweber-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/campaign-monitor/";window.open(e,"_blank")}}else this.show_uplock_notice("Campaign Monitor"," Campaign Monitor","campaignmonitor-integration");if("constant-contact"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("Constant Contact"," Constant Contact","constant-contact-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/constant-contact/";window.open(e,"_blank")}}else this.show_uplock_notice("Constant Contact"," Constant Contact","constant-contact-integration");if("convertkit"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("ConvertKit"," ConvertKit","convertkit-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/convertkit/";window.open(e,"_blank")}}else this.show_uplock_notice("ConvertKit"," ConvertKit","convertkit-integration");if("drip"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("Drip"," Drip","drip-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/drip/";window.open(e,"_blank")}}else this.show_uplock_notice("Drip"," Drip","drip-integration");if("fluentcrm"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("FluentCRM"," FluentCRM","fluentcrm-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/fluentcrm/";window.open(e,"_blank")}}else this.show_uplock_notice("FluentCRM"," FluentCRM","fluentcrm-integration");if("getresponse"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("GetResponse"," GetResponse","getresponse-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/getresponse/";window.open(e,"_blank")}}else this.show_uplock_notice("GetResponse"," GetResponse","getresponse-integration");if("icontact"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("iContact"," iContact","icontact-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/icontact/";window.open(e,"_blank")}}else this.show_uplock_notice("iContact"," iContact","icontact-integration");if("madmimi"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("Mad Mimi"," Mad Mimi","madmimi-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/mad-mimi/";window.open(e,"_blank")}}else this.show_uplock_notice("Mad Mimi"," Mad Mimi","madmimi-integration");if("mailerlite"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("MailerLite"," MailerLite","mailerlite-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/mailerlite/";window.open(e,"_blank")}}else this.show_uplock_notice("MailerLite"," MailerLite","mailerlite-integration");if("moosend"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("Moosend"," Moosend","moosend-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/moosend/";window.open(e,"_blank")}}else this.show_uplock_notice("Moosend"," Moosend","moosend-integration");if("mailchimp"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("Mailchimp"," Mailchimp","mailchimp-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/mailchimp/";window.open(e,"_blank")}}else this.show_uplock_notice("Mailchimp"," Mailchimp","mailchimp-integration");if("sendy"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("Sendy"," Sendy","sendy-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/sendy/";window.open(e,"_blank")}}else this.show_uplock_notice("Sendy"," Sendy","sendy-integration");if("sendinblue"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("Sendinblue"," Sendinblue","sendinblue-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/sendinblue/";window.open(e,"_blank")}}else this.show_uplock_notice("Sendinblue"," Sendinblue","sendinblue-integration");if("webhooks"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("Webhooks"," Webhooks","webhooks-integration"),this.shared.per.includes("ei")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/webhooks/";window.open(e,"_blank")}}else this.show_uplock_notice("Webhooks"," Webhooks","webhooks-integration");if("zapier"==t)if("rafflepress_lite"==this.shared.page_path&&this.show_upgrade_notice("Zapier"," Zapier","zapier-integration"),this.shared.per.includes("zp")||"rafflepress_pro"!=this.shared.page_path){if("rafflepress_pro"==this.shared.page_path){e="https://rafflepress.com/docs/zapier/";window.open(e,"_blank")}}else this.show_uplock_notice("Zapier"," Zapier","zapier-integration")}},components:{SettingsLiteCTA:lt}},kt=yt,xt=Object(d["a"])(kt,bt,wt,!1,null,null,null),Ct=xt.exports,Pt=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"pro",attrs:{id:"rafflepress-welcome"}},[e("div",{staticClass:"welcome-container"},[e("div",{staticClass:"intro"},[e("div",{staticClass:"robbie"},[e("img",{attrs:{src:t.shared.plugin_path+"public/img/rafflepress-icon.png",alt:"Robbie the Rabbit the RafflePress mascot"}})]),e("div",{staticClass:"block"},[e("h1",[t._v("Welcome to RafflePress")]),t._m(0),e("hr"),e("div",{attrs:{id:"license-info"}},["rafflepress_lite"==t.shared.page_path?e("p",[t._v("\n\t\t\t\t\t\t\tYou're using "),e("strong",[t._v("RafflePress Lite")]),t._v(" -\n\t\t\t\t\t\t\tNo License needed. Enjoy!\n\t\t\t\t\t\t\t"),e("img",{staticClass:"emoji",attrs:{draggable:"false",alt:"🙂",src:"https://s.w.org/images/core/emoji/11.2.0/svg/1f642.svg"}})]):t._e(),"rafflepress_pro"==t.shared.page_path?e("p",{attrs:{id:"license-sub"}},[t._v("\n\t\t\t\t\t\t\tPlease enter your license key for RafflePress\n\t\t\t\t\t\t\tPro to unlock Pro Features\n\t\t\t\t\t\t")]):e("p",{attrs:{id:"license-sub"}},[t._v("\n\t\t\t\t\t\t\tIf you already have a license key for\n\t\t\t\t\t\t\t"),e("a",{attrs:{href:this.shared.upgrade_link+"welcome",target:"_blank"}},[t._v("RafflePress Pro")]),t._v(", please enter under "),e("a",{attrs:{href:"admin.php?page=rafflepress_lite#/settings"}},[t._v("Settings")]),t._v(" to Unlock Pro Features.\n\t\t\t\t\t\t")]),"rafflepress_pro"==t.shared.page_path?e("form",{staticClass:"form-inline",staticStyle:{"text-align":"center",margin:"20px 0"}},[e("div",{staticClass:"form-group"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.shared.settings_page_meta.api_key,expression:"\n\t\t\t\t\t\t\t\t\t\tshared.settings_page_meta.api_key\n\t\t\t\t\t\t\t\t\t"}],staticClass:"form-control input-lg",staticStyle:{"min-width":"300px"},attrs:{type:"password",name:"name",placeholder:t.shared.translations.txt_322,autocomplete:"off"},domProps:{value:t.shared.settings_page_meta.api_key},on:{input:function(e){e.target.composing||t.$set(t.shared.settings_page_meta,"api_key",e.target.value)}}})]),e("button",{staticClass:"btn btn-primary btn-lg",attrs:{disabled:!!t.shared.doing_ajax},on:{click:function(e){return e.preventDefault(),t.save_api_key.apply(null,arguments)}}},[t.shared.doing_ajax?e("i",{staticClass:"fas fa-spinner fa-spin"}):t._e(),t._v(" "+t._s(t.shared.translations.txt_324)+"\n\t\t\t\t\t\t\t")]),t._m(1)]):t._e()])]),e("a",{staticClass:"play-video",attrs:{href:"#",title:"Watch how to create your first giveaway"},on:{click:function(e){return e.preventDefault(),t.watch_video.apply(null,arguments)}}},[e("img",{staticClass:"video-thumbnail",attrs:{src:t.shared.plugin_path+"public/img/welcome-video.png",alt:"Watch how to create your first giveaway"}})]),e("div",{staticClass:"block",attrs:{id:"sub-welcome"}},[e("h6",[t._v("\n\t\t\t\t\t\tRafflePress makes it easy to create giveaways and\n\t\t\t\t\t\tcontests in WordPress. You can watch the video\n\t\t\t\t\t\ttutorial or read our guide on how create your first\n\t\t\t\t\t\tgiveaway.\n\t\t\t\t\t")]),e("div",{staticClass:"button-wrap rafflepress-clear"},[e("div",{staticClass:"left"},[e("a",{staticClass:"btn btn-primary btn-lg btn-block",attrs:{href:"admin.php?page="+t.shared.page_path+"_builder&_wpnonce="+t.shared.rafflepress_nonce+"&id=0#/template"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_331)+"\n\t\t\t\t\t\t\t")])]),e("div",{staticClass:"right"},[e("a",{staticClass:"btn btn-default btn-lg btn-block",attrs:{href:"https://rafflepress.com/docs/creating-your-first-giveaway/?utm_source=WordPress&utm_medium=link&utm_campaign=liteplugin",target:"_blank",rel:"noopener noreferrer"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_332)+"\n\t\t\t\t\t\t\t")])])])])]),e("div",{staticClass:"features"},[e("div",{staticClass:"block"},[e("h1",[t._v("RafflePress Features & Solutions")]),t._m(2),e("div",{staticClass:"feature-list rafflepress-clear clear"},[e("div",{staticClass:"feature-block first"},[e("img",{attrs:{src:t.shared.plugin_path+"public/img/feature-1.png"}}),e("h5",[t._v("Drag & Drop Giveaway Builder")]),e("p",[t._v("\n\t\t\t\t\t\t\t\tEasily create successful giveaway campaigns\n\t\t\t\t\t\t\t\tin just a few minutes without hiring a\n\t\t\t\t\t\t\t\tdeveloper.\n\t\t\t\t\t\t\t")])]),e("div",{staticClass:"feature-block last"},[e("img",{attrs:{src:t.shared.plugin_path+"public/img/feature-2.png"}}),e("h5",[t._v("Viral Giveaway Templates")]),e("p",[t._v("\n\t\t\t\t\t\t\t\tUse our pre-built giveaway templates to get\n\t\t\t\t\t\t\t\tmore subscribers, improve engagement, and\n\t\t\t\t\t\t\t\tgrow traffic.\n\t\t\t\t\t\t\t")])]),e("div",{staticClass:"feature-block first"},[e("img",{attrs:{src:t.shared.plugin_path+"public/img/feature-3.png"}}),e("h5",[t._v("1-Click Entry + Fraud Protection")]),e("p",[t._v("\n\t\t\t\t\t\t\t\tMake it easy for users to enter your\n\t\t\t\t\t\t\t\tgiveaway while eliminating fraud entries to\n\t\t\t\t\t\t\t\tkeep your contest fair.\n\t\t\t\t\t\t\t")])]),e("div",{staticClass:"feature-block last"},[e("img",{attrs:{src:t.shared.plugin_path+"public/img/feature-4.png"}}),e("h5",[t._v("Viral Sharing (Refer-a-Friend)")]),e("p",[t._v("\n\t\t\t\t\t\t\t\tAutomate word of mouth marketing with our\n\t\t\t\t\t\t\t\trefer-a-friend a.k.a viral sharing to\n\t\t\t\t\t\t\t\tsupercharge your growth.\n\t\t\t\t\t\t\t")])]),e("div",{staticClass:"feature-block first"},[e("img",{attrs:{src:t.shared.plugin_path+"public/img/feature-5.png"}}),e("h5",[t._v("Social Media Integrations")]),e("p",[t._v("\n\t\t\t\t\t\t\t\tRafflePress helps you grow your following on\n\t\t\t\t\t\t\t\tFacebook, Instagram YouTube, Twitter, and\n\t\t\t\t\t\t\t\tmore.\n\t\t\t\t\t\t\t")])]),e("div",{staticClass:"feature-block last"},[e("img",{attrs:{src:t.shared.plugin_path+"public/img/feature-6.png"}}),e("h5",[t._v("Marketing & CRM Integrations")]),e("p",[t._v("\n\t\t\t\t\t\t\t\tEasily Grow your email list. Seamless\n\t\t\t\t\t\t\t\tintegration with your favorite email\n\t\t\t\t\t\t\t\tmarketing services & CRMs.\n\t\t\t\t\t\t\t")])]),e("div",{staticClass:"feature-block first"},[e("img",{attrs:{src:t.shared.plugin_path+"public/img/feature-7.png"}}),e("h5",[t._v("Giveaway Landing Page")]),e("p",[t._v("\n\t\t\t\t\t\t\t\tUse our 'distraction-free' and highly\n\t\t\t\t\t\t\t\toptimized giveaway landing page to get the\n\t\t\t\t\t\t\t\tbest results.\n\t\t\t\t\t\t\t")])]),e("div",{staticClass:"feature-block last"},[e("img",{attrs:{src:t.shared.plugin_path+"public/img/feature-8.png"}}),e("h5",[t._v("Tracking & Retargeting")]),e("p",[t._v("\n\t\t\t\t\t\t\t\tLeverage our advanced success tracking and\n\t\t\t\t\t\t\t\tretargeting feature to maximize your\n\t\t\t\t\t\t\t\tconversion goals.\n\t\t\t\t\t\t\t")])])]),e("hr"),e("div",{staticClass:"testimonial-block rafflepress-clear"},[e("img",{attrs:{src:t.shared.plugin_path+"public/img/eric-compressor.jpg"}}),e("p",[t._v("\n\t\t\t\t\t\t\tRafflePress is by far the most effective WordPress giveaway plugin that I’ve used to date. Love love love.\n\t\t\t\t\t\t")]),t._m(3)])])]),e("div",{staticClass:"footer"},[e("div",{staticClass:"block rafflepress-clear"},[e("div",{staticClass:"button-wrap rafflepress-clear"},[e("div",{staticClass:"left"},[e("a",{staticClass:"btn btn-block btn-lg btn-primary",attrs:{href:"admin.php?page="+t.shared.page_path+"_builder&_wpnonce="+t.shared.rafflepress_nonce+"&id=0#/template"}},[t._v("\n\t\t\t\t\t\t\t\tCreate Your First Giveaway\n\t\t\t\t\t\t\t")])]),e("div",{staticClass:"right"},[e("a",{staticClass:"btn btn-block btn-lg btn-trans-green upgrade-modal",attrs:{href:this.shared.upgrade_link+"welcome",target:"_blank",rel:"noopener noreferrer"}},[t._m(4)])])])])])])])])},St=[function(){var t=this,e=t._self._c;return e("h6",[t._v("\n\t\t\t\t\t\tThank you for choosing RafflePress - the most\n\t\t\t\t\t\tpowerful WordPress giveaway"),e("br"),t._v("and contest plugin\n\t\t\t\t\t\tin the market.\n\t\t\t\t\t")])},function(){var t=this,e=t._self._c;return e("a",{attrs:{href:"https://rafflepress.com/docs/how-to-find-your-license-key/?utm_source=WordPress&utm_medium=link&utm_campaign=liteplugin",target:"blank"}},[e("i",{staticClass:"fa fa-question-circle",attrs:{"aria-hidden":"true"}})])},function(){var t=this,e=t._self._c;return e("h6",[t._v("\n\t\t\t\t\t\tRafflePress is both easy to use and extremely\n\t\t\t\t\t\tpowerful. We have tons of"),e("br"),t._v("helpful features to\n\t\t\t\t\t\thelp you create a successful giveaway campaign.\n\t\t\t\t\t")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"sig"},[e("strong",[t._v("Eric Siu")]),t._v(" - SingleGrain and Marketing School\n\t\t\t\t\t\t")])},function(){var t=this,e=t._self._c;return e("span",{staticClass:"underline"},[t._v("\n\t\t\t\t\t\t\t\t\tUpgrade to RafflePress Pro\n\t\t\t\t\t\t\t\t\t"),e("span",{staticClass:"dashicons dashicons-arrow-right"})])}],It={name:"Welcome",mixins:[G["a"]],data:function(){return{shared:rafflepress_store_admin}},methods:{watch_video:function(){this.$swal({width:600,html:'<iframe width="100%" height="400" src="https://www.youtube.com/embed/YlMEG3Eg-d4?rel=0&wmode=transparent&iv_load_policy=3&autoplay=0" frameborder="0"></iframe>',toast:!1,customContainerClass:"rafflepress-welcome-video"})},save_api_key:function(){var t=this,e=o.a.stringify({api_key:t.shared.settings_page_meta.api_key});t.shared.doing_ajax=!0,C.a.start(),t.shared.settings_page_meta.button="api_key",t.axios.post(rafflepress_save_api_key_ajax_url,e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((function(e){if(C.a.done(),t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,"true"==e.data.status)var s="success";else s="error";t.$swal({imageUrl:t.shared.plugin_path+"public/img/"+s+".png",text:e.data.msg,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})})).catch((function(e){t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/img/"+type+".png",text:"Could not be saved. Please contact Support if you continue to experience this issue.",toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}))}}},At=It,$t=Object(d["a"])(At,Pt,St,!1,null,null,null),Tt=$t.exports,Rt=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"rafflepress-aboutus"}},[e("nav",{staticClass:"navbar navbar-default",attrs:{id:"rafflepress-settings-nav"}},[e("ul",{staticClass:"nav navbar-nav"},[e("router-link",{attrs:{tag:"li",to:{name:"aboutus_aboutus"}}},[e("a",[e("span",[t._v(t._s(t.shared.translations.txt_201))])])]),e("router-link",{attrs:{tag:"li",to:{name:"aboutus_gettingstarted"}}},[e("a",[e("span",[t._v(t._s(t.shared.translations.txt_202))])])]),"rafflepress_lite"==t.shared.page_path?e("router-link",{attrs:{tag:"li",to:{name:"aboutus_litevspro"}}},[e("a",[e("span",[t._v(t._s(t.shared.translations.txt_203))])])]):t._e()],1)]),e("div",{staticClass:"wrap"},[e("router-view",{attrs:{name:"main"}})],1)])},Bt=[],jt={name:"Aboutus",data:function(){return{shared:rafflepress_store_admin}},computed:{},created:function(){var t=document.querySelector(".wp-first-item a[href='admin.php?page="+this.shared.page_path+"']"),e="current";t.classList.remove(e),t.parentNode.classList.remove(e);t=document.querySelector("a[href='admin.php?page="+this.shared.page_path+"_about_us']"),e="current";t.classList?t.classList.add(e):t.className+=" "+e,t.parentNode.classList?t.parentNode.classList.add(e):t.parentNode.className+=" "+e},methods:{}},Ot=jt,Mt=Object(d["a"])(Ot,Rt,Bt,!1,null,null,null),Dt=Mt.exports,Ut=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"row",attrs:{id:"rafflepress-aboutus-section"}},[e("div",{staticClass:"col-md-7"},[e("h3",[t._v("\n\t\t\t\t\t"+t._s(t.shared.translations.txt_204)+"\n\t\t\t\t")]),e("p",[t._v("\n\t\t\t\t\t"+t._s(t.shared.translations.txt_205)+"\n\t\t\t\t")]),e("p",[t._v("\n\t\t\t\t\t"+t._s(t.shared.translations.txt_206)+"\n\t\t\t\t")]),e("p",[t._v("\n\t\t\t\t\t"+t._s(t.shared.translations.txt_207)+"\n\t\t\t\t\t"),e("a",{attrs:{href:"https://www.wpbeginner.com/?utm_source=rafflepressplugin&utm_medium=pluginaboutpage&utm_campaign=aboutrafflepress",target:"_blank",rel:"noopener noreferrer"}},[t._v("WPBeginner")]),t._v(", the most popular lead-generation software,\n\t\t\t\t\t"),e("a",{attrs:{href:"https://optinmonster.com/?utm_source=rafflepressplugin&utm_medium=pluginaboutpage&utm_campaign=aboutrafflepress",target:"_blank",rel:"noopener noreferrer"}},[t._v("OptinMonster")]),t._v(", the best WordPress analytics plugin,\n\t\t\t\t\t"),e("a",{attrs:{href:"https://www.monsterinsights.com/?utm_source=rafflepressplugin&utm_medium=pluginaboutpage&utm_campaign=aboutrafflepress",target:"_blank",rel:"noopener noreferrer"}},[t._v("MonsterInsights")]),t._v(", the best WordPress forms plugin,\n\t\t\t\t\t"),e("a",{attrs:{href:"https://www.wpforms.com/?utm_source=rafflepressplugin&utm_medium=pluginaboutpage&utm_campaign=aboutrafflepress",target:"_blank",rel:"noopener noreferrer"}},[t._v("WPForms")]),t._v(", the best WordPress coming soon and maintenance mode\n\t\t\t\t\tplugin,\n\t\t\t\t\t"),e("a",{attrs:{href:"https://www.seedprod.com/?utm_source=rafflepressplugin&utm_medium=pluginaboutpage&utm_campaign=aboutrafflepress",target:"_blank",rel:"noopener noreferrer"}},[t._v("SeedProd")]),t._v(", and finally the best WordPress FOMO plugin,\n\t\t\t\t\t"),e("a",{attrs:{href:"https://trustpulse.com/?utm_source=rafflepressplugin&utm_medium=pluginaboutpage&utm_campaign=aboutrafflepress",target:"_blank",rel:"noopener noreferrer"}},[t._v("TrustPulse")]),t._v(".\n\t\t\t\t")]),e("p",[t._v("\n\t\t\t\t\t"+t._s(t.shared.translations.txt_208)+"\n\t\t\t\t")])]),e("div",{staticClass:"col-md-5"},[e("img",{staticClass:"img-responsive",staticStyle:{"box-shadow":"0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)!important","border-radius":"4px",border:"1px solid #ddd",margin:"0 auto 15px"},attrs:{src:t.shared.plugin_path+"public/img/team.jpg",alt:"RafflePress Team photo"}}),t._m(0)])]),e("ul",{staticClass:"rafflepress-plugin-recommendations"},t._l(t.plugins,(function(s,a){return e("li",[e("div",{staticClass:"rafflepress-plugin-recommendations-block"},[e("div",{staticClass:"rafflepress-media-img"},[e("img",{attrs:{src:s.icon}})]),e("div",{staticClass:"rafflepress-media-body"},[e("h4",[t._v("\n\t\t\t\t\t\t\t"+t._s(s.name)+"\n\t\t\t\t\t\t")]),e("p",{domProps:{innerHTML:t._s(s.desc)}})])]),t.shared.doing_ajax==a||"all"==t.shared.doing_ajax?e("div",{staticClass:"rafflepress-plugin-install"},[t._m(1,!0)]):e("div",{staticClass:"rafflepress-plugin-install"},[!0===s.is_pro?e("div",[t._v("\n "+t._s(t.plugins["wpforms-pro"])+"\n "),e("strong",[t._v("Status:")]),t._v(" PRO Version Installed\n ")]):e("div",[e("strong",[t._v("Status:")]),t._v(" "+t._s(s.status))]),e("div",[!0!==s.is_pro?e("button",{staticClass:"status-inactive button button-primary",on:{click:function(e){return t.plugin_action(a)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.plugin_btn_txt(s))+"\n\t\t\t\t\t\t")]):t._e()])])])})),0)])},Lt=[function(){var t=this,e=t._self._c;return e("figcaption",[t._v("\n\t\t\t\t\tThe RafflePress Team: Syed, John & Thomas"),e("br")])},function(){var t=this,e=t._self._c;return e("div",{staticStyle:{"text-align":"center",flex:"1"}},[e("i",{staticClass:"fas fa-spinner fa-spin"})])}],Wt={name:"AboutusAbout",data:function(){return{all_plugins:{},plugins:{"coming-soon":{slug_base:"coming-soon",slug:"coming-soon/coming-soon.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-seedprod.png",name:"SeedProd",desc:"Create a simple Coming Soon Page or Maintenance Mode Page. Work on your site in private while visitors see a “Coming Soon” or “Maintenance Mode” page.",url:"https://downloads.wordpress.org/plugin/coming-soon.zip",status:""},monsterinsights:{slug_base:"google-analytics-for-wordpress",slug:"google-analytics-for-wordpress/googleanalytics.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-mi.png",name:"MonsterInsights",desc:"MonsterInsights makes it “effortless” to properly connect your WordPress site with Google Analytics, so you can start making data-driven decisions to grow your business.",url:"https://downloads.wordpress.org/plugin/google-analytics-for-wordpress.zip",status:""},optinmonster:{slug_base:"optinmonster",slug:"optinmonster/optin-monster-wp-api.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-om.png",name:"OptinMonster",desc:"Our high-converting optin forms like Exit-Intent® popups, Fullscreen Welcome Mats, and Scroll boxes help you dramatically boost conversions and get more email subscribers.",url:"https://downloads.wordpress.org/plugin/optinmonster.zip",status:""},wpmailsmtp:{slug_base:"wp-mail-smtp",slug:"wp-mail-smtp/wp_mail_smtp.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-smtp.png",name:"WP Mail SMTP",desc:"SMTP (Simple Mail Transfer Protocol) is an industry standard for sending emails. SMTP helps increase email deliverability by using proper authentication.",url:"https://downloads.wordpress.org/plugin/wp-mail-smtp.zip",status:""},wpforms:{slug_base:"wpforms-lite",slug:"wpforms-lite/wpforms.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-wpforms.png",name:"WPForms",desc:"The most beginner friendly drag & drop WordPress forms plugin allowing you to create beautiful contact forms, subscription forms, payment forms, and more in minutes, not hours!",url:"https://downloads.wordpress.org/plugin/wpforms-lite.zip",status:""},trustpulse:{slug_base:"trustpulse-api",slug:"trustpulse-api/trustpulse.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-trustpulse.png",name:"TrustPulse",desc:"TrustPulse uses FOMO (Fear of Missing Out) to boost your sales and conversions with social proof notifications. Use it to boost sales on your Woocommerce store, increase signups on your membership site, get more email subscribers, and more.",url:"https://downloads.wordpress.org/plugin/coming-soon.zip",status:""},"all-in-one":{slug_base:"all-in-one-seo-pack",slug:"all-in-one-seo-pack/all_in_one_seo_pack.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-aioseo.png",name:"All in One SEO",desc:"The original WordPress SEO plugin. Improve your WordPress SEO rankings and traffic with our comprehensive SEO tools and smart SEO optimizations.",url:"https://downloads.wordpress.org/plugin/all-in-one-seo-pack.zip",status:"",status_code:"",is_pro:!1},exactmetrics:{slug_base:"google-analytics-dashboard-for-wp",slug:"google-analytics-dashboard-for-wp/gadwp.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-exactmetrics.png",name:"ExactMetrics",desc:"The ExactMetrics Google Analytics for WordPress plugin helps you properly setup all the powerful Google Analytics tracking features without writing any code or hiring a developer.",url:"https://downloads.wordpress.org/plugin/google-analytics-dashboard-for-wp.zip",status:"",status_code:"",is_pro:!1},instagramfeed:{slug_base:"instagram-feed",slug:"instagram-feed/instagram-feed.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-social-photo-feed.png",name:"Smash Balloon Social Photo Feed",desc:"Easily display Instagram content on your WordPress site without writing any code. Comes with multiple templates, ability to show content from multiple accounts, hashtags, and more. Trusted by 1 million websites.",url:"https://downloads.wordpress.org/plugin/instagram-feed.zip",status:"",status_code:"",is_pro:!1},customfacebookfeed:{slug_base:"custom-facebook-feed",slug:"custom-facebook-feed/custom-facebook-feed.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-custom-facebook-feed.png",name:"Smash Balloon Social Post Feed",desc:"Easily display Facebook content on your WordPress site without writing any code. Comes with multiple templates, ability to embed albums, group content, reviews, live videos, comments, and reactions.",url:"https://downloads.wordpress.org/plugin/custom-facebook-feed.zip",status:"",status_code:"",is_pro:!1},customtwitterfeeds:{slug_base:"custom-twitter-feeds",slug:"custom-twitter-feeds/custom-twitter-feed.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-custom-twitter-feeds.png",name:"Smash Balloon Twitter Feeds",desc:"Easily display Twitter content in WordPress without writing any code. Comes with multiple layouts, ability to combine multiple Twitter feeds, Twitter card support, tweet moderation, and more.",url:"https://downloads.wordpress.org/plugin/custom-twitter-feeds.zip",status:"",status_code:"",is_pro:!1},feedsforyoutube:{slug_base:"feeds-for-youtube",slug:"feeds-for-youtube/youtube-feed.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-feeds-for-youtube.png",name:"Smash Balloon YouTube Feeds",desc:"Easily display YouTube videos on your WordPress site without writing any code. Comes with multiple layouts, ability to embed live streams, video filtering, ability to combine multiple channel videos, and more.",url:"https://downloads.wordpress.org/plugin/feeds-for-youtube.zip",status:"",status_code:"",is_pro:!1},pushengage:{slug_base:"pushengage",slug:"pushengage/main.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-pushengage.png",name:"PushEngage",desc:"Connect with your visitors after they leave your website with the leading web push notification software. Over 10,000+ businesses worldwide use PushEngage to send 9 billion notifications each month.",url:"https://downloads.wordpress.org/plugin/pushengage.zip",status:"",status_code:"",is_pro:!1},sugarcalendar:{slug_base:"sugar-calendar-lite",slug:"sugar-calendar-lite/sugar-calendar-lite.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-sugarcalendar.png",name:"Sugar Calendar",desc:"A simple & powerful event calendar plugin for WordPress that comes with all the event management features including payments, scheduling, timezones, ticketing, recurring events, and more.",url:"https://downloads.wordpress.org/plugin/sugar-calendar-lite.zip",status:"",status_code:"",is_pro:!1},wpsimplepay:{slug_base:"stripe",slug:"stripe/stripe-checkout.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-stripe.png",name:"WP Simple Pay",desc:"The #1 Stripe payments plugin for WordPress. Start accepting one-time and recurring payments on your WordPress site without setting up a shopping cart. No code required.",url:"https://downloads.wordpress.org/plugin/stripe.zip",status:"",status_code:"",is_pro:!1},easydigitaldownloads:{slug_base:"easy-digital-downloads",slug:"easy-digital-downloads/easy-digital-downloads.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-easydigitaldownloads.png",name:"Easy Digital Downloads",desc:"The best WordPress eCommerce plugin for selling digital downloads. Start selling eBooks, software, music, digital art, and more within minutes. Accept payments, manage subscriptions, advanced access control, and more.",url:"https://downloads.wordpress.org/plugin/easy-digital-downloads.zip",status:"",status_code:"",is_pro:!1},searchwp:{slug_base:"searchwp",slug:"searchwp/index.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-searchwp.svg",name:"SearchWP",desc:"The most advanced WordPress search plugin. Customize your WordPress search algorithm, reorder search results, track search metrics, and everything you need to leverage search to grow your business.",url:"https://searchwp.com/",status:"",status_code:"",is_pro:!1,redirect_to_installation_page:!0},affiliatewp:{slug_base:"affiliate-wp",slug:"affiliate-wp/affiliate-wp.php",icon:rafflepress_store_admin.plugin_path+"public/img/plugin-affiliatewp.png",name:"AffiliateWP",desc:"The #1 affiliate management plugin for WordPress. Easily create an affiliate program for your eCommerce store or membership site within minutes and start growing your sales with the power of referral marketing.",url:"https://affiliatewp.com/",status:"",status_code:"",is_pro:!1,redirect_to_installation_page:!0}},shared:rafflepress_store_admin}},methods:{plugin_action:function(t){var e=this,s="",a="",i=t;if(e.shared.doing_ajax=t,"Not Installed"==this.plugins[t].status){s=rafflepress_get_install_addon_url;var n=o.a.stringify({plugin:this.plugins[t].url,type:"plugin"});a="install"}if("Active"==this.plugins[t].status){s=rafflepress_deactivate_addon_url;n=o.a.stringify({plugin:this.plugins[t].slug,type:"plugin"});a="deactivate"}if("Inactive"==this.plugins[t].status){s=rafflepress_activate_addon_url;n=o.a.stringify({plugin:this.plugins[t].slug,type:"plugin"});a="activate"}this.axios.post(s,n,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((function(s){if(e.shared.doing_ajax=!1,"install"==a)if(s.data.error){e.$swal({imageUrl:e.shared.plugin_path+"public/img/error.png",text:s.data.error,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3});var n=o.a.stringify({plugin:e.plugins[i].slug_base});e.axios.post(rafflepress_plugin_nonce_url,n,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then((function(t){t.data&&window.open("update.php?action=install-plugin&plugin="+e.plugins[i].slug_base+"&_wpnonce="+t.data,"_blank")}))}else e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:"Plugin Installed, click Activate",toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.plugins[t].status="Inactive",e.$forceUpdate();"activate"==a&&(s.data.success?(e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:s.data.data,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.plugins[t].status="Active",e.$forceUpdate()):e.$swal({imageUrl:e.shared.plugin_path+"public/img/error.png",text:s.data.data,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})),"deactivate"==a&&(s.data.success?(e.$swal({imageUrl:e.shared.plugin_path+"public/img/success.png",text:s.data.data,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.plugins[t].status="Inactive",e.$forceUpdate()):e.$swal({imageUrl:e.shared.plugin_path+"public/img/error.png",text:s.data.data,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}))})).catch((function(t){e.shared.doing_ajax=!1,e.$swal({imageUrl:e.shared.plugin_path+"public/img/error.png",text:t,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}))},plugin_btn_txt:function(t){var e="";return"Not Installed"==t.status&&(e=this.shared.translations.txt_209),"Active"==t.status&&(e=this.shared.translations.txt_210),"Inactive"==t.status&&(e=this.shared.translations.txt_211),e}},mounted:function(){var t=this;t.shared.doing_ajax="all",this.axios.get(rafflepress_get_plugins_list_url).then((function(e){if(t.shared.doing_ajax=!1,e.data)for(var s in e.data)void 0!==t.plugins[s]&&("wpforms"==s&&0!==e.data["wpforms-pro"].status&&(t.plugins[s].is_pro=!0),"coming-soon"==s&&0!==e.data["seedprod-pro"].status&&(t.plugins[s].is_pro=!0),"monsterinsights"==s&&0!==e.data["monsterinsights-pro"].status&&(t.plugins[s].is_pro=!0),"wpmailsmtp"==s&&0!==e.data["wpmailsmtp-pro"].status&&(t.plugins[s].is_pro=!0),"exactmetrics"==s&&0!==e.data["exactmetrics-pro"].status&&(t.plugins[s].is_pro=!0),"instagramfeed"==s&&0!==e.data["instagramfeed-pro"].status&&(t.plugins[s].is_pro=!0),"customfacebookfeed"==s&&0!==e.data["customfacebookfeed-pro"].status&&(t.plugins[s].is_pro=!0),"customtwitterfeeds"==s&&0!==e.data["customtwitterfeeds-pro"].status&&(t.plugins[s].is_pro=!0),"feedsforyoutube"==s&&0!==e.data["feedsforyoutube-pro"].status&&(t.plugins[s].is_pro=!0),"all-in-one"==s&&0!==e.data["all-in-one-pro"].status&&(t.plugins[s].is_pro=!0),"sugarcalendar"==s&&0!==e.data["sugarcalendar-pro"].status&&(t.plugins[s].is_pro=!0),"wpsimplepay"==s&&0!==e.data["wpsimplepay-pro"].status&&(t.plugins[s].is_pro=!0),"uncanny-automator"==s&&0!==e.data["uncanny-automator-pro"].status&&(t.plugins[s].is_pro=!0),t.plugins[s].status=e.data[s].label,t.plugins[s].status_code=e.data[s].status)})).catch((function(e){t.shared.doing_ajax=!1,t.shared.doing_ajax=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/img/error.png",text:e,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}))}},Et=Wt,Ft=Object(d["a"])(Et,Ut,Lt,!1,null,null,null),zt=Ft.exports,Nt=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"row",attrs:{id:"rafflepress-aboutus-getting-started-section"}},[e("div",{staticClass:"col-md-6"},[e("h2",[t._v("\n\t\t\t\t\t"+t._s(t.shared.translations.txt_212)+"\n\t\t\t\t")]),e("p",[t._v("\n\t\t\t\t\t"+t._s(t.shared.translations.txt_213)+"\n\t\t\t\t")]),e("p",[t._v("\n\t\t\t\t\t"+t._s(t.shared.translations.txt_214)+"\n\t\t\t\t")]),e("p",[t._v("\n\t\t\t\t\t"+t._s(t.shared.translations.txt_215)+"\n\t\t\t\t")]),e("p",[e("ul",{staticClass:"list-unstyled"},[e("li",[e("a",{attrs:{href:"https://rafflepress.com/docs/creating-your-first-giveaway/?utm_source=WordPress&utm_medium=rafflepress-about-page&utm_campaign=gettingstarted#add-new",target:"_blank",rel:"noopener noreferrer"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shared.translations.txt_212)+"\t\t\t\t\t")])])])])]),t._m(0)]),"rafflepress_lite"==t.shared.page_path?e("div",{attrs:{id:"rafflepress-aboutus-getting-upsell-section"}},[t._m(1),t._m(2)]):t._e()])},Gt=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-md-6"},[e("div",{staticClass:"embed-responsive embed-responsive-16by9"},[e("iframe",{attrs:{src:"https://www.youtube-nocookie.com/embed/YlMEG3Eg-d4?rel=0",width:"100%",height:"304",frameborder:"0",allow:"autoplay; encrypted-media",allowfullscreen:""}})])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12"},[e("h2",[t._v("Get RafflePress Pro and Unlock all the Powerful Features")]),e("p",[t._v("Thanks for being a loyal RafflePress Lite user. Upgrade to RafflePress Pro to unlock all the awesome features and experience\nwhy RafflePress is consistently rated the best WordPress giveaway builder.")])])])},function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"upsell-features"}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-6"},[e("ul",{staticClass:"list-unstyled"},[e("li",[e("i",{staticClass:"fa fa-check",attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t\t\t\t\tDrag & Drop Giveaway Builder\t\t\t\t\t\t\t")]),e("li",[e("i",{staticClass:"fa fa-check",attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t\t\t\t\tResponsive Mobile Friendly\t\t\t\t\t\t\t")]),e("li",[e("i",{staticClass:"fa fa-check",attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t\t\t\t\tViral Sharing (Refer-a-Friend)\t\t\t\t\t\t\t\t")]),e("li",[e("i",{staticClass:"fa fa-check",attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t\t\t\t\tMarketing & CRM Integrations\t\t\t\t\t\t\t\t")]),e("li",[e("i",{staticClass:"fa fa-check",attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t\t\t\t\tTracking and Retargeting\t\t\t\t\t\t\t\t")])])]),e("div",{staticClass:"col-md-6"},[e("ul",{staticClass:"list-unstyled"},[e("li",[e("i",{staticClass:"fa fa-check",attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t\t\t\t\tViral Giveaway Templates\t\t\t\t\t\t\t")]),e("li",[e("i",{staticClass:"fa fa-check",attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t\t\t\t\t1-Click Entry + Fraud Protection\t\t\t\t\t\t\t\t")]),e("li",[e("i",{staticClass:"fa fa-check",attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t\t\t\t\tSocial Media Integrations\t\t\t\t\t\t\t\t")]),e("li",[e("i",{staticClass:"fa fa-check",attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t\t\t\t\tGiveaway Landing Page\t\t\t\t\t\t\t\t")]),e("li",[e("i",{staticClass:"fa fa-check",attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t\t\t\t\tGrowing Library of Actions\t\t\t\t\t\t\t\t")])])])]),e("hr"),e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12"},[e("a",{attrs:{href:"https://www.rafflepress.com/lite-upgrade/?discount=LITEUPGRADE&utm_source=WordPress&utm_medium=rafflepress-about-page&utm_campaign=liteplugin",target:"_blank",rel:"noopener noreferrer"}},[t._v("Get RafflePress Pro Today and Unlock all the Powerful Features\t\t\t\t\t\t")]),e("p",[t._v("\n\t\t\t\t\t\t\tBonus: RafflePress Lite users get "),e("span",{staticClass:"green"},[t._v("a discount off the regular price")]),t._v(", automatically applied at checkout.\t\t\t\t\t\t")])])])])}],qt={name:"AboutusGettingStarted",data:function(){return{shared:rafflepress_store_admin}},methods:{}},Ht=qt,Vt=Object(d["a"])(Ht,Nt,Gt,!1,null,null,null),Yt=Vt.exports,Kt=function(){var t=this;t._self._c;return t._m(0)},Zt=[function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"rafflepress-aboutus-lite-vs-pro-section"}},[e("table",{staticClass:"table"},[e("caption",[e("h1",{staticClass:"centered"},[e("strong",[t._v("Lite")]),t._v(" vs "),e("strong",[t._v("Pro")])]),t._v("\n\t\t\t\tGet the most out of RafflePress by upgrading to Pro and\n\t\t\t\tunlocking all of the powerful features.\n\t\t\t")]),e("thead",[e("tr",[e("th",[t._v("Feature")]),e("th",[t._v("Lite")]),e("th",[t._v("Pro")])])]),e("tbody",[e("tr",[e("td",[t._v("Prizes")]),e("td",[e("p",{staticClass:"features-partial"},[e("strong",[t._v("Giveaway 1 Prize")]),e("br"),t._v("\n\t\t\t\t\t\t\tper giveaway.\n\t\t\t\t\t\t")])]),e("td",[e("p",{staticClass:"features-full"},[e("strong",[t._v("Giveaway Multiple Prizes")]),t._v(" per\n\t\t\t\t\t\t\tgiveawya with Images and Slideshows.\n\t\t\t\t\t\t")])])]),e("tr",[e("td",[t._v("Start and End Dates")]),e("td",[e("p",{staticClass:"features-partial"},[e("strong",[t._v("Choose a start and end date.")]),e("br")])]),e("td",[e("p",{staticClass:"features-full"},[e("strong",[t._v("Choose a start and end date and time")]),t._v("\n\t\t\t\t\t\t\twith timezone support.\n\t\t\t\t\t\t")])])]),e("tr",[e("td",[t._v("Actions")]),e("td",[e("p",{staticClass:"features-partial"},[e("strong",[t._v("Limited Actions")]),e("br"),e("br"),e("ul",[e("li",[t._v("Facebook Actions")]),e("li",[t._v("Twitter Actions")])])])]),e("td",[e("p",{staticClass:"features-full"},[e("strong",[t._v("Powerful Actions")]),e("br"),e("br"),e("ul",[e("li",[t._v("Refer a Friend (Viral)")]),e("li",[t._v("Facebook Actions")]),e("li",[t._v("Twitter Actions")]),e("li",[t._v("Pinterest Actions")]),e("li",[t._v("Instagram Actions")]),e("li",[t._v("Join Newsletter")]),e("li",[t._v("Create Your Own")]),e("li",[t._v("Mandatory Actions")]),e("li",[t._v("Plus More...")])])])])]),e("tr",[e("td",[t._v("Email Integrations")]),e("td",[e("p",{staticClass:"features-none"},[e("strong",[t._v("Not available")])])]),e("td",[e("p",{staticClass:"features-full"},[e("strong",[t._v("All Email Integrations")])]),e("p",[t._v("Constant Contact, MailChimp, AWeber, GetResponse, Campaign Monitor, and Drip.")]),e("p",[e("strong",[t._v("Bonus:")]),t._v(" 500+ integrations with Zapier.")]),e("p")])]),e("tr",[e("td",[t._v("Social Logins")]),e("td",[e("p",{staticClass:"features-none"},[e("strong",[t._v("Not available")])])]),e("td",[e("p",{staticClass:"features-full"},[e("strong",[t._v("Facebook Login")])])])]),e("tr",[e("td",[t._v("Fraud Controls")]),e("td",[e("p",{staticClass:"features-partial"},[e("strong",[t._v("Limited")]),e("br"),e("br")])]),e("td",[e("p",{staticClass:"features-full"},[e("strong",[t._v("Email Verification")])])])])]),e("tfoot",[e("tr",[e("td",{attrs:{colspan:"3"}},[e("a",{attrs:{href:"https://www.rafflepress.com/lite-upgrade/?discount=LITEUPGRADE&utm_source=WordPress&utm_medium=rafflepress-about-page&utm_campaign=liteplugin",target:"_blank",rel:"noopener noreferrer"}},[t._v("Get RafflePress Pro Today and Unlock all the\n\t\t\t\t\t\t\tPowerful Features\n\t\t\t\t\t\t")]),e("p",{staticClass:"centered"},[t._v("\n\t\t\t\t\t\t\tBonus: RafflePress Lite users get\n\t\t\t\t\t\t\t"),e("span",{staticClass:"price-20-off"},[t._v("a discount off the regular price")]),t._v(", automatically applied at checkout.\n\t\t\t\t\t\t")])])])])])])}],Jt={name:"AboutusLitevsPro",data:function(){return{shared:rafflepress_store_admin}},methods:{}},Qt=Jt,Xt=Object(d["a"])(Qt,Kt,Zt,!1,null,null,null),te=Xt.exports;a["a"].use(f["a"]);var ee=new f["a"]({routes:[{name:"dashboard",path:"/",component:A},{name:"results",path:"/results/:id",component:F},{name:"entries",path:"/entries/:id/:contestant_id?",component:O},{name:"contestants",path:"/contestants/:id",component:Y},{path:"/settings",component:tt,children:[{name:"settings_general",path:"",components:{main:ut}},{name:"settings_email",path:"email-notifications",components:{main:vt}},{name:"settings_integrations",path:"integrations",components:{main:Ct}}]},{path:"/aboutus",component:Dt,children:[{name:"aboutus_aboutus",path:"",components:{main:zt}},{name:"aboutus_gettingstarted",path:"getting-started",components:{main:Yt}},{name:"aboutus_litevspro",path:"lite-vs-pro",components:{main:te}}]},{name:"welcome",path:"/welcome",component:Tt}],linkActiveClass:"active"}),se=ee,ae=s("619c"),ie=s("e37d"),ne=s("bc3a"),re=s.n(ne),oe=s("a7fe"),le=s.n(oe),pe=s("7bb1"),ce=s("f206");a["a"].component("ToggleButton",ce["ToggleButton"]),a["a"].use(ae["a"]),a["a"].use(pe["a"]),a["a"].use(ie["a"],{defaultClass:"rafflepress-tooltip"}),a["a"].use(le.a,re.a),a["a"].config.productionTip=!1;var de={plugin_path:rafflepress_data_admin.plugin_path,inline_help_articles_data:rafflepress_data_admin.inline_help_articles,page_path:rafflepress_data_admin.page_path},ue={rafflepress_nonce:rafflepress_data_admin.rafflepress_nonce,notifications:rafflepress_data_admin.notifications,api_token:rafflepress_data_admin.api_token,license_key:rafflepress_data_admin.license_key,license_name:rafflepress_data_admin.license_name,per:rafflepress_data_admin.per,active_license:rafflepress_data_admin.active_license,page_path:rafflepress_data_admin.page_path,name:rafflepress_data_admin.name,email:rafflepress_data_admin.email,upgrade_link:rafflepress_data_admin.upgrade_link,doing_ajax:!1,show_winners_advanced_options:!1,plugin_path:rafflepress_data_admin.plugin_path,home_url:rafflepress_data_admin.home_url,settings_page_meta:{lclass:rafflepress_data_admin.lclass,lmsg:rafflepress_data_admin.lmsg,button:"",api_key:rafflepress_data_admin.api_key,settings:rafflepress_data_admin.settings,timezones:rafflepress_data_admin.timezones,dismiss_settings_lite_cta:rafflepress_data_admin.dismiss_settings_lite_cta},translations:rafflepress_backend_translation_data};window.rafflepress_store_admin=ue,window.inline_help_data=de;new a["a"]({router:se,mounted:function(){},render:function(t){return t(_)}}).$mount("#rafflepress-vue-app");var _e=function(){iFrameResize({log:!1,checkOrigin:!1},"#inline-help")};window.help_iframe=_e},a087:function(t,e,s){},ad75:function(t,e,s){"use strict";s("b5d8")},b132:function(t,e,s){"use strict";s.d(e,"a",(function(){return a}));s("28a5"),s("6762"),s("2fdb");var a={methods:{daily_action:function(){"rafflepress_lite"!=this.shared.page_path?"rafflepress_pro"!=this.shared.page_path||this.shared.per.includes("ra")||this.show_uplock_notice("Daily Repeat Action","dialy repeat action","repeat-action"):this.show_upgrade_notice("Daily Repeat Action","dialy repeat action","repeat-action")},mandatory_action:function(){"rafflepress_lite"!=this.shared.page_path?"rafflepress_pro"!=this.shared.page_path||this.shared.per.includes("ma")||this.show_uplock_notice("Mandatory Action","mandatory action","mandatory-action"):this.show_upgrade_notice("Mandatory Action","mandatory action","mandatory-action")},set_entry_value:function(t){"rafflepress_lite"!=this.shared.page_path?this.eo.value=t:this.show_upgrade_notice("Action Value","adding a value to an action","action-value")},help_iframe:function(t){var e=t.split("#"),s="";e[1]&&(t=e[0],s=e[1]),this.$swal({width:600,html:"<iframe class='iframe_loading' id='inline-help' src='https://staging.rafflepress.com/docs/"+t+"?iframe=1&hash="+s+"' style='width:100%;' onload='help_iframe()'></iframe>",toast:!1,showCancelButton:!0,cancelButtonText:"Close",confirmButtonText:'Visit Docs <i class="fas fa-external-link-alt"></i>'}).then((function(e){if(e.value){var a="https://staging.rafflepress.com/docs/"+t+"#"+s;window.open(a,"_blank")}}))},show_upgrade_notice:function(t,e){var s=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"link",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=this;i?(t="Upgrade to PRO",e="Increase traffic, engagement, and get more email subscribers. Click below to learn more about all our awesome features."):(t+=" is a PRO Feature",e="The "+e+" feature is not available on your plan. Please upgrade to the PRO plan to unlock all these awesome features."),this.$swal({customContainerClass:"rafflepress-upgrade-popup",imageUrl:n.shared.plugin_path+"public/img/lock.svg",title:t,text:e,type:null,showCancelButton:!1,confirmButtonColor:"#4CAF50",cancelButtonColor:"#d33",confirmButtonText:"UPGRADE TO PRO",showCloseButton:!0,footer:'<i class="fas fa-check-circle"></i><div style="text-align:center;margin-left:40px;margin-right:40px;"><strong>Bonus:</strong> RafflePress Lite users get a 50% discount off the regular price, automatically applied at checkout.</div>'}).then((function(t){t.value&&(window.open(s.shared.upgrade_link+a,"_blank"),s.$swal.fire({customContainerClass:"rafflepress-moreinfo-popup",imageUrl:n.shared.plugin_path+"public/img/info-with-circle.svg",type:null,html:"Thanks for your interest in RafflePress Pro!<br>If you have any questions or issues just <a href='https://www.rafflepress.com/?contact=1' target='_blank'>let us know</a>.<br><br>After purchasing RafflePress Pro, you'll need to download and install the Pro version of the plugin, and then remove the free plugin. <br><br>(Don't worry, all your settings will be preserved.)"}))}))},show_uplock_notice:function(t,e){var s=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=this;s?(t="Upgrade to PRO",e="Increase traffic, engagement, and get more email subscribers. Click below to learn more about all our awesome features."):(t="Upgrade to Unlock "+t,e="The "+e+" feature is not available on your plan. Please upgrade your plan to unlock this feature and more!"),this.$swal({customContainerClass:"rafflepress-upgrade-popup",imageUrl:a.shared.plugin_path+"public/img/lock.svg",title:t,text:e,type:null,showCancelButton:!1,confirmButtonColor:"#4CAF50",cancelButtonColor:"#d33",confirmButtonText:"UPGRADE",showCloseButton:!0,footer:"Upgrade with just a click of a button!"}).then((function(t){t.value&&window.open("https://app.rafflepress.com/upgrade-license?license_key="+a.shared.license_key+"&api_token="+a.shared.api_token,"_blank")}))}}}},b5d8:function(t,e,s){}});